Changeset eb522e8 in mainline for uspace/lib/c/include/errno.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/lib/c/include/errno.h ¶
r9e2e715 reb522e8 39 39 #include <fibril.h> 40 40 41 extern int _errno; 41 #define errno (*(__errno())) 42 42 43 #define errno _errno 43 extern int *__errno(void) __attribute__((const)); 44 44 45 45 #define EMFILE (-18) … … 56 56 #define EMLINK (-266) 57 57 58 /** Bad checksum. */ 59 #define EBADCHECKSUM (-300) 60 61 /** USB: stalled operation. */ 62 #define ESTALL (-301) 63 64 /** Empty resource (no data). */ 65 #define EEMPTY (-302) 66 67 /** Negative acknowledgment. */ 68 #define ENAK (-303) 69 58 70 /** An API function is called while another blocking function is in progress. */ 59 #define EINPROGRESS 71 #define EINPROGRESS (-10036) 60 72 61 73 /** The socket identifier is not valid. */ 62 #define ENOTSOCK 74 #define ENOTSOCK (-10038) 63 75 64 76 /** The destination address required. */ 65 #define EDESTADDRREQ 77 #define EDESTADDRREQ (-10039) 66 78 67 79 /** Protocol is not supported. */ 68 #define EPROTONOSUPPORT 80 #define EPROTONOSUPPORT (-10043) 69 81 70 82 /** Socket type is not supported. */ 71 #define ESOCKTNOSUPPORT 83 #define ESOCKTNOSUPPORT (-10044) 72 84 73 85 /** Protocol family is not supported. */ 74 #define EPFNOSUPPORT 86 #define EPFNOSUPPORT (-10046) 75 87 76 88 /** Address family is not supported. */ 77 #define EAFNOSUPPORT 89 #define EAFNOSUPPORT (-10047) 78 90 79 91 /** Address is already in use. */ 80 #define EADDRINUSE 92 #define EADDRINUSE (-10048) 81 93 82 94 /** The socket is not connected or bound. */ 83 #define ENOTCONN 95 #define ENOTCONN (-10057) 84 96 85 /** The requested operation was not performed. 86 * Try again later. 87 */ 88 #define TRY_AGAIN (-11002) 97 /** The requested operation was not performed. Try again later. */ 98 #define EAGAIN (-11002) 89 99 90 /** No data. 91 */ 92 #define NO_DATA (-11004) 100 /** No data. */ 101 #define NO_DATA (-11004) 93 102 94 103 #endif
Note:
See TracChangeset
for help on using the changeset viewer.