Changeset 0d0b319 in mainline for abi/include/abi/errno.in
- Timestamp:
- 2018-01-04T20:03:02Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c7702c0
- Parents:
- 10de842
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:03:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/errno.in
r10de842 r0d0b319 1 1 __errno_entry(EOK , 0, "No error") 2 __errno_entry(ENOENT , -1, "No such entry")3 __errno_entry(ENOMEM , -2, "Not enough memory")4 __errno_entry(ELIMIT , -3, "Limit exceeded")5 __errno_entry(EREFUSED , -4, "Connection refused")6 __errno_entry(EFORWARD , -5, "Forwarding error")7 __errno_entry(EPERM , -6, "Permission denied")8 __errno_entry(EHANGUP , -7, "Answerbox closed connection")9 __errno_entry(EPARTY , -8, "Other party encountered an error")10 __errno_entry(EEXIST , -9, "Entry already exists")11 __errno_entry(EBADMEM , -10, "Bad memory pointer")12 __errno_entry(ENOTSUP , -11, "Operation not supported")13 __errno_entry(EADDRNOTAVAIL , -12, "Address not available")14 __errno_entry(ETIMEOUT , -13, "Timeout expired")15 __errno_entry(EINVAL , -14, "Invalid value")16 __errno_entry(EBUSY , -15, "Resource is busy")17 __errno_entry(EOVERFLOW , -16, "Result does not fit its size")18 __errno_entry(EINTR , -17, "Operation interrupted")19 __errno_entry(EMFILE , -18, "Too many open files")20 __errno_entry(ENAMETOOLONG , -256, "Name is too long")21 __errno_entry(EISDIR , -257, "Entry is a directory")22 __errno_entry(ENOTDIR , -258, "Entry is not a directory")23 __errno_entry(ENOSPC , -259, "No space left")24 __errno_entry(ENOTEMPTY , -261, "Directory is not empty")25 __errno_entry(EBADF , -262, "Bad object handle")26 __errno_entry(EDOM , -263, "Domain error")27 __errno_entry(ERANGE , -264, "Value out of range")28 __errno_entry(EXDEV , -265, "Prohibited cross-device link")29 __errno_entry(EIO , -266, "Input/output error")30 __errno_entry(EMLINK , -267, "Too many links")31 __errno_entry(ENXIO , -268, "Device or address does not exist")32 __errno_entry(ENOFS , -269, "No such file system type")33 __errno_entry(EBADCHECKSUM , -300, "Bad checksum")34 __errno_entry(ESTALL , -301, "USB: Operation stalled")35 __errno_entry(EEMPTY , -302, "Resource is empty")36 __errno_entry(ENAK , -303, "Negative acknowledgement")37 __errno_entry(EAGAIN , -11002, "Operation could not proceed, try again")2 __errno_entry(ENOENT , 1, "No such entry") 3 __errno_entry(ENOMEM , 2, "Not enough memory") 4 __errno_entry(ELIMIT , 3, "Limit exceeded") 5 __errno_entry(EREFUSED , 4, "Connection refused") 6 __errno_entry(EFORWARD , 5, "Forwarding error") 7 __errno_entry(EPERM , 6, "Permission denied") 8 __errno_entry(EHANGUP , 7, "Answerbox closed connection") 9 __errno_entry(EPARTY , 8, "Other party encountered an error") 10 __errno_entry(EEXIST , 9, "Entry already exists") 11 __errno_entry(EBADMEM , 10, "Bad memory pointer") 12 __errno_entry(ENOTSUP , 11, "Operation not supported") 13 __errno_entry(EADDRNOTAVAIL , 12, "Address not available") 14 __errno_entry(ETIMEOUT , 13, "Timeout expired") 15 __errno_entry(EINVAL , 14, "Invalid value") 16 __errno_entry(EBUSY , 15, "Resource is busy") 17 __errno_entry(EOVERFLOW , 16, "Result does not fit its size") 18 __errno_entry(EINTR , 17, "Operation interrupted") 19 __errno_entry(EMFILE , 18, "Too many open files") 20 __errno_entry(ENAMETOOLONG , 19, "Name is too long") 21 __errno_entry(EISDIR , 20, "Entry is a directory") 22 __errno_entry(ENOTDIR , 21, "Entry is not a directory") 23 __errno_entry(ENOSPC , 22, "No space left") 24 __errno_entry(ENOTEMPTY , 23, "Directory is not empty") 25 __errno_entry(EBADF , 24, "Bad object handle") 26 __errno_entry(EDOM , 25, "Mathematics argument out of domain of function") 27 __errno_entry(ERANGE , 26, "Value out of range") 28 __errno_entry(EXDEV , 27, "Prohibited cross-device link") 29 __errno_entry(EIO , 28, "Input/output error") 30 __errno_entry(EMLINK , 29, "Too many links") 31 __errno_entry(ENXIO , 30, "Device or address does not exist") 32 __errno_entry(ENOFS , 31, "No such file system type") 33 __errno_entry(EBADCHECKSUM , 32, "Bad checksum") 34 __errno_entry(ESTALL , 33, "USB: Operation stalled") 35 __errno_entry(EEMPTY , 34, "Resource is empty") 36 __errno_entry(ENAK , 35, "Negative acknowledgement") 37 __errno_entry(EAGAIN , 36, "Operation could not proceed, try again") 38 38 39 __errno_entry(HTTP_EMULTIPLE_HEADERS , -20001, "HTTP: Multiple headers") // libhttp error codes. Defining them here is a temporary hack. 40 __errno_entry(HTTP_EMISSING_HEADER , -20002, "HTTP: Missing header") 41 __errno_entry(HTTP_EPARSE , -20003, "HTTP: Parse error") 39 /* libhttp error codes. Defining them here is a temporary hack. */ 42 40 43 __errno_entry(EXT4_ERR_BAD_DX_DIR , -75000, "EXT4: Filesystem corrupted") // libext4 41 __errno_entry(HTTP_EMULTIPLE_HEADERS , 50, "HTTP: Multiple headers") 42 __errno_entry(HTTP_EMISSING_HEADER , 51, "HTTP: Missing header") 43 __errno_entry(HTTP_EPARSE , 52, "HTTP: Parse error") 44 45 /* libext4 error codes. Same as above. */ 46 47 __errno_entry(EXT4_ERR_BAD_DX_DIR , 60, "EXT4: Filesystem corrupted") 48 49 50 /* POSIX error codes + whatever nonstandard names crop up in third-party 51 * software. These are not used in HelenOS code, but are defined here in 52 * order to avoid nasty hacks in libposix. 53 * 54 * If you decide to use one of these in native HelenOS code, 55 * move it up to the first group. 56 */ 57 58 __errno_entry(E2BIG , 101, "Argument list too long") 59 __errno_entry(EACCES , 102, "Permission denied") 60 __errno_entry(EADDRINUSE , 103, "Address in use") 61 __errno_entry(EAFNOSUPPORT , 105, "Address family not supported") 62 __errno_entry(EALREADY , 107, "Connection already in progress") 63 __errno_entry(EBADMSG , 109, "Bad message") 64 __errno_entry(ECANCELED , 111, "Operation canceled") 65 __errno_entry(ECHILD , 112, "No child processes") 66 __errno_entry(ECONNABORTED , 113, "Connection aborted") 67 __errno_entry(ECONNREFUSED , 114, "Connection refused") 68 __errno_entry(ECONNRESET , 115, "Connection reset") 69 __errno_entry(EDEADLK , 116, "Resource deadlock would occur") 70 __errno_entry(EDESTADDRREQ , 117, "Destination address required") 71 __errno_entry(EDQUOT , 119, "Reserved") 72 __errno_entry(EFAULT , 121, "Bad address") 73 __errno_entry(EFBIG , 122, "File too large") 74 __errno_entry(EHOSTUNREACH , 123, "Host is unreachable") 75 __errno_entry(EIDRM , 124, "Identifier removed") 76 __errno_entry(EILSEQ , 125, "Illegal byte sequence") 77 __errno_entry(EINPROGRESS , 126, "Operation in progress") 78 __errno_entry(EISCONN , 130, "Socket is connected") 79 __errno_entry(ELOOP , 132, "Too many levels of symbolic links") 80 __errno_entry(EMSGSIZE , 135, "Message too large") 81 __errno_entry(EMULTIHOP , 136, "Reserved") 82 __errno_entry(ENETDOWN , 138, "Network is down") 83 __errno_entry(ENETRESET , 139, "Connection aborted by network") 84 __errno_entry(ENETUNREACH , 140, "Network unreachable") 85 __errno_entry(ENFILE , 141, "Too many files open in system") 86 __errno_entry(ENOBUFS , 142, "No buffer space available") 87 __errno_entry(ENODATA , 143, "No message is available on the STREAM head read queue") 88 __errno_entry(ENODEV , 144, "No such device") 89 __errno_entry(ENOEXEC , 146, "Executable file format error") 90 __errno_entry(ENOLCK , 147, "No locks available") 91 __errno_entry(ENOLINK , 148, "Reserved") 92 __errno_entry(ENOMSG , 150, "No message of the desired type") 93 __errno_entry(ENOPROTOOPT , 151, "Protocol not available") 94 __errno_entry(ENOSR , 153, "No STREAM resources.") 95 __errno_entry(ENOSTR , 154, "Not a STREAM") 96 __errno_entry(ENOSYS , 155, "Function not supported") 97 __errno_entry(ENOTCONN , 156, "The socket is not connected") 98 __errno_entry(ENOTRECOVERABLE , 159, "State not recoverable") 99 __errno_entry(ENOTSOCK , 160, "Not a socket") 100 __errno_entry(ENOTTY , 162, "Inappropriate I/O control operation") 101 __errno_entry(EOPNOTSUPP , 164, "Operation not supported") 102 __errno_entry(EOWNERDEAD , 166, "Previous owned died") 103 __errno_entry(EPIPE , 168, "Broken pipe") 104 __errno_entry(EPROTO , 169, "Protocol error") 105 __errno_entry(EPROTONOSUPPORT , 170, "Protocol not supported") 106 __errno_entry(EPROTOTYPE , 171, "Protocol wrong type for socket") 107 __errno_entry(EROFS , 173, "Read-only file system") 108 __errno_entry(ESPIPE , 174, "Invalid seek") 109 __errno_entry(ESRCH , 175, "No such process") 110 __errno_entry(ESTALE , 176, "Reserved") 111 __errno_entry(ETIME , 177, "Stream ioctl() timeout") 112 __errno_entry(ETIMEDOUT , 178, "Connection timed out") 113 __errno_entry(ETXTBSY , 179, "Text file busy") 114 __errno_entry(EWOULDBLOCK , 180, "Operation would block")
Note:
See TracChangeset
for help on using the changeset viewer.