Changes in uspace/lib/posix/include/posix/fcntl.h [ca4c6ec1:fdf97f6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
rca4c6ec1 rfdf97f6 36 36 #define POSIX_FCNTL_H_ 37 37 38 #ifndef __POSIX_DEF__ 39 #define __POSIX_DEF__(x) x 40 #endif 41 38 42 #include "sys/types.h" 39 43 #include "libc/fcntl.h" … … 72 76 #define FD_CLOEXEC 1 /* Close on exec. */ 73 77 74 extern int posix_open(const char *pathname, int flags, ...);75 extern int posix_fcntl(int fd, int cmd, ...);78 extern int __POSIX_DEF__(open)(const char *pathname, int flags, ...); 79 extern int __POSIX_DEF__(fcntl)(int fd, int cmd, ...); 76 80 77 #ifndef LIBPOSIX_INTERNAL78 #define fcntl posix_fcntl79 #define open posix_open80 #endif81 81 82 82 #endif /* POSIX_FCNTL_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.