Changeset 0328987 in mainline
- Timestamp:
- 2015-10-06T19:05:41Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5265eea4
- Parents:
- 6afc9d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/internal/common.h
r6afc9d7 r0328987 48 48 } while (0) 49 49 50 /* Convert negative error return value to positive errno */51 #define errnify(func, ...) ({ \52 int rc = func(__VA_ARGS__); \53 if (rc < 0) { \54 errno = -rc; \55 rc = -1; \56 } \57 rc; \58 })59 60 50 /* Convert negative errno to positive errno */ 61 51 #define negerrno(func, ...) ({ \
Note:
See TracChangeset
for help on using the changeset viewer.