Changes in uspace/lib/posix/src/fcntl.c [7f9df7b9:7c3fb9b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/fcntl.c
r7f9df7b9 r7c3fb9b 55 55 case F_DUPFD: 56 56 case F_DUPFD_CLOEXEC: 57 /* VFS currently does not provide the functionality to duplicate 58 * opened file descriptor. */ 57 /* 58 * VFS currently does not provide the functionality to duplicate 59 * opened file descriptor. 60 */ 59 61 // FIXME: implement this once dup() is available 60 62 errno = ENOTSUP; … … 67 69 return 0; 68 70 case F_GETFL: 69 /* File status flags (i.e. O_APPEND) are currently private to the 70 * VFS server so it cannot be easily retrieved. */ 71 /* 72 * File status flags (i.e. O_APPEND) are currently private to the 73 * VFS server so it cannot be easily retrieved. 74 */ 71 75 flags = 0; 72 /* File access flags are currently not supported for file descriptors. 73 * Provide full access. */ 76 /* 77 * File access flags are currently not supported for file descriptors. 78 * Provide full access. 79 */ 74 80 flags |= O_RDWR; 75 81 return flags; 76 82 case F_SETFL: 77 /* File access flags are currently not supported for file descriptors. 78 * Ignore arguments and report success. */ 83 /* 84 * File access flags are currently not supported for file descriptors. 85 * Ignore arguments and report success. 86 */ 79 87 return 0; 80 88 case F_GETOWN:
Note:
See TracChangeset
for help on using the changeset viewer.