Changeset 132ab5d1 in mainline for uspace/lib/c/include/errno.h
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (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
-
uspace/lib/c/include/errno.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/errno.h
r8bfb163 r132ab5d1 36 36 #define LIBC_ERRNO_H_ 37 37 38 #include <_bits/errno.h> 38 39 #include <abi/errno.h> 39 40 40 41 #define errno (*(__errno())) 41 42 42 extern int *__errno(void) __attribute__((const)); 43 44 #define EMFILE (-18) 45 #define ENAMETOOLONG (-256) 46 #define EISDIR (-257) 47 #define ENOTDIR (-258) 48 #define ENOSPC (-259) 49 #define ENOTEMPTY (-261) 50 #define EBADF (-262) 51 #define EDOM (-263) 52 #define ERANGE (-264) 53 #define EXDEV (-265) 54 #define EIO (-266) 55 #define EMLINK (-267) 56 #define ENXIO (-268) 57 #define ENOFS (-269) 58 59 /** Bad checksum. */ 60 #define EBADCHECKSUM (-300) 61 62 /** USB: stalled operation. */ 63 #define ESTALL (-301) 64 65 /** Empty resource (no data). */ 66 #define EEMPTY (-302) 67 68 /** Negative acknowledgment. */ 69 #define ENAK (-303) 70 71 /** The requested operation was not performed. Try again later. */ 72 #define EAGAIN (-11002) 43 extern errno_t *__errno(void) __attribute__((const)); 73 44 74 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
