Changeset 39330200 in mainline for uspace/lib/posix
- Timestamp:
- 2018-01-15T21:40:49Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba29018
- Parents:
- d8023313
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
- Location:
- uspace/lib/posix/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/sys/stat.c
rd8023313 r39330200 52 52 * @return 0 on success, -1 on error. 53 53 */ 54 static int stat_to_posix(struct posix_stat *dest, struct stat *src)54 static int stat_to_posix(struct posix_stat *dest, vfs_stat_t *src) 55 55 { 56 56 memset(dest, 0, sizeof(struct posix_stat)); … … 88 88 int posix_fstat(int fd, struct posix_stat *st) 89 89 { 90 struct stat hst;90 vfs_stat_t hst; 91 91 if (failed(vfs_stat(fd, &hst))) 92 92 return -1; … … 116 116 int posix_stat(const char *restrict path, struct posix_stat *restrict st) 117 117 { 118 struct stat hst;118 vfs_stat_t hst; 119 119 if (failed(vfs_stat_path(path, &hst))) 120 120 return -1; -
uspace/lib/posix/source/unistd.c
rd8023313 r39330200 245 245 posix_off_t posix_lseek(int fildes, posix_off_t offset, int whence) 246 246 { 247 struct stat st;247 vfs_stat_t st; 248 248 249 249 switch (whence) {
Note:
See TracChangeset
for help on using the changeset viewer.