Changeset 52acfab in mainline for uspace/lib/posix/include/posix/fcntl.h
- Timestamp:
- 2019-05-28T19:24:14Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77de449e
- Parents:
- af5037d (diff), bebd154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 19:24:14)
- git-committer:
- GitHub <noreply@…> (2019-05-28 19:24:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
raf5037d r52acfab 38 38 #include <sys/types.h> 39 39 40 #undef O_CREAT41 #undef O_EXCL42 #undef O_TRUNC43 #undef O_APPEND44 #undef O_RDONLY45 #undef O_RDWR46 #undef O_WRONLY47 40 #define O_CREAT 1 48 41 #define O_EXCL 2 … … 54 47 55 48 /* Mask for file access modes. */ 56 #undef O_ACCMODE57 49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 58 50 59 51 /* Dummy compatibility flag */ 60 #undef O_NOCTTY61 52 #define O_NOCTTY 0 62 53 63 54 /* fcntl commands */ 64 #undef F_DUPFD65 #undef F_DUPFD_CLOEXEC66 #undef F_GETFD67 #undef F_SETFD68 #undef F_GETFL69 #undef F_SETFL70 #undef F_GETOWN71 #undef F_SETOWN72 #undef F_GETLK73 #undef F_SETLK74 #undef F_SETLKW75 55 #define F_DUPFD 0 /* Duplicate file descriptor. */ 76 56 #define F_DUPFD_CLOEXEC 1 /* Same as F_DUPFD but with FD_CLOEXEC flag set. */ … … 86 66 87 67 /* File descriptor flags used with F_GETFD and F_SETFD. */ 88 #undef FD_CLOEXEC89 68 #define FD_CLOEXEC 1 /* Close on exec. */ 69 70 __C_DECLS_BEGIN; 90 71 91 72 extern int open(const char *pathname, int flags, ...); 92 73 extern int fcntl(int fd, int cmd, ...); 74 75 __C_DECLS_END; 93 76 94 77 #endif /* POSIX_FCNTL_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.