Changes in uspace/lib/posix/source/internal/common.h [0328987:23a0368] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/internal/common.h
r0328987 r23a0368 38 38 #include <stdio.h> 39 39 #include <stdlib.h> 40 #include <sys/types.h> 41 #include <vfs/vfs.h> 40 42 41 43 #define not_implemented() do { \ … … 57 59 }) 58 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 69 extern aoff64_t posix_pos[MAX_OPEN_FILES]; 70 59 71 #endif /* LIBPOSIX_COMMON_H_ */ 60 72
Note:
See TracChangeset
for help on using the changeset viewer.