Changes in uspace/lib/posix/include/posix/fcntl.h [9b8be79:bc56f30] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
r9b8be79 rbc56f30 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.