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