Changes in uspace/lib/posix/include/posix/fcntl.h [b19e892:c8830a2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
rb19e892 rc8830a2 36 36 #define POSIX_FCNTL_H_ 37 37 38 #ifndef __POSIX_DEF__39 #define __POSIX_DEF__(x) x40 #endif41 42 38 #include "sys/types.h" 39 #include "libc/fcntl.h" 43 40 #include "errno.h" 44 45 #undef O_CREAT46 #undef O_EXCL47 #undef O_TRUNC48 #undef O_APPEND49 #undef O_RDONLY50 #undef O_RDWR51 #undef O_WRONLY52 #define O_CREAT 153 #define O_EXCL 254 #define O_TRUNC 455 #define O_APPEND 856 #define O_RDONLY 1657 #define O_RDWR 3258 #define O_WRONLY 6459 41 60 42 /* Mask for file access modes. */ … … 94 76 #define FD_CLOEXEC 1 /* Close on exec. */ 95 77 96 extern int __POSIX_DEF__(open)(const char *pathname, int flags, ...);97 extern int __POSIX_DEF__(fcntl)(int fd, int cmd, ...);78 extern int posix_open(const char *pathname, int flags, ...); 79 extern int posix_fcntl(int fd, int cmd, ...); 98 80 81 #ifndef LIBPOSIX_INTERNAL 82 #define fcntl posix_fcntl 83 #define open posix_open 84 #endif 99 85 100 86 #endif /* POSIX_FCNTL_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.