Changeset fdf97f6 in mainline for uspace/lib/posix/include/posix/fcntl.h
- Timestamp:
- 2013-02-25T19:11:50Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1935591
- Parents:
- c84f1a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
rc84f1a4 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.