Changeset 23a0368 in mainline for uspace/lib/posix/source/internal/common.h
- Timestamp:
- 2017-03-30T19:52:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae7bfbbd
- Parents:
- b5b5d84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/internal/common.h
rb5b5d84 r23a0368 59 59 }) 60 60 61 /* Convert error code to positive errno and -1 return value */ 62 #define rcerrno(func, ...) ({ \ 63 int rc = func(__VA_ARGS__); \ 64 if (rc < 0) \ 65 errno = -rc; \ 66 rc; \ 67 }) 68 61 69 extern aoff64_t posix_pos[MAX_OPEN_FILES]; 62 70
Note:
See TracChangeset
for help on using the changeset viewer.