Changeset 224174f in mainline for uspace/lib/posix/include/posix/fcntl.h
- Timestamp:
- 2013-07-11T13:16:57Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b3e8840, b2c96093
- Parents:
- 990ab7d (diff), 3a67d63 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/fcntl.h
r990ab7d r224174f 35 35 #ifndef POSIX_FCNTL_H_ 36 36 #define POSIX_FCNTL_H_ 37 38 #ifndef __POSIX_DEF__ 39 #define __POSIX_DEF__(x) x 40 #endif 37 41 38 42 #include "sys/types.h" … … 76 80 #define FD_CLOEXEC 1 /* Close on exec. */ 77 81 78 extern int posix_open(const char *pathname, int flags, ...);79 extern int posix_fcntl(int fd, int cmd, ...);82 extern int __POSIX_DEF__(open)(const char *pathname, int flags, ...); 83 extern int __POSIX_DEF__(fcntl)(int fd, int cmd, ...); 80 84 81 #ifndef LIBPOSIX_INTERNAL82 #define fcntl posix_fcntl83 #define open posix_open84 #endif85 85 86 86 #endif /* POSIX_FCNTL_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.