Changeset 6817eba in mainline
- Timestamp:
- 2011-07-12T13:36:39Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1916d1f, 8ecef91
- Parents:
- f51f193
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/fcntl.h
rf51f193 r6817eba 38 38 #include "sys/types.h" 39 39 #include "libc/fcntl.h" 40 #include "errno.h" 40 41 41 42 /* Mask for file access modes. */ … … 72 73 73 74 #undef open 74 #define open(path, oflag,...) \75 #define open(path, ...) \ 75 76 ({ \ 76 int rc = open(path, oflag,##__VA_ARGS__); \77 int rc = open(path, ##__VA_ARGS__); \ 77 78 if (rc < 0) { \ 78 79 errno = -rc; \
Note:
See TracChangeset
for help on using the changeset viewer.