## **Overview**
**Related Modules:**
[UTILS](utils.md)
**Description:**
Defines error codes.
You can view the value of **errno** to check the error code definition in this file to preliminarily locate the fault.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Macros
EPERM 1 | |
ENOENT 2 | |
ESRCH 3 | |
EINTR 4 | |
EIO 5 | |
ENXIO 6 | |
E2BIG 7 | |
ENOEXEC 8 | |
EBADF 9 | |
ECHILD 10 | |
EAGAIN 11 | |
ENOMEM 12 | |
EACCES 13 | |
EFAULT 14 | |
ENOTBLK 15 | |
EBUSY 16 | |
EEXIST 17 | |
EXDEV 18 | |
ENODEV 19 | |
ENOTDIR 20 | |
EISDIR 21 | |
EINVAL 22 | |
ENFILE 23 | Too many opened files in system (the maximum number exceeded) |
EMFILE 24 | Too many opened files in a process (the maximum number exceeded) |
ENOTTY 25 | Inappropriate I/O control operation. |
ETXTBSY 26 | |
EFBIG 27 | |
ENOSPC 28 | |
ESPIPE 29 | |
EROFS 30 | |
EMLINK 31 | |
EPIPE 32 | The pipe file is incorrect or the read end of the pipe is closed during the write operation. |
EDOM 33 | Domain error. The value of at least one input parameter is out of the parameter range. |
ERANGE 34 | The actual return value exceeds the return value range. |
EDEADLK 35 | |
ENAMETOOLONG 36 | |
ENOLCK 37 | |
ENOSYS 38 | |
ENOTEMPTY 39 | |
ELOOP 40 | Too many levels of symbolic links. |
Operation would block (the same value as EAGAIN) | |
ENOMSG 42 | No message of the desired type. |
EIDRM 43 | |
ECHRNG 44 | |
EL2NSYNC 45 | |
EL3HLT 46 | |
EL3RST 47 | |
ELNRNG 48 | |
EUNATCH 49 | |
ENOCSI 50 | |
EL2HLT 51 | |
EBADE 52 | |
EBADR 53 | |
EXFULL 54 | |
ENOANO 55 | |
EBADRQC 56 | |
EBADSLT 57 | |
Resource deadlock (the same value as EDEADLK) | |
EBFONT 59 | |
ENOSTR 60 | |
ENODATA 61 | No message is available on the stream head read queue. |
ETIME 62 | |
ENOSR 63 | |
ENONET 64 | Machine is disconnected from the network. |
ENOPKG 65 | |
EREMOTE 66 | |
ENOLINK 67 | |
EADV 68 | |
ESRMNT 69 | |
ECOMM 70 | |
EPROTO 71 | |
EMULTIHOP 72 | |
EDOTDOT 73 | |
EBADMSG 74 | |
EOVERFLOW 75 | Value too large to be represented by the defined data type. |
ENOTUNIQ 76 | Name not unique on the network. |
EBADFD 77 | File descriptor in the bad state. |
EREMCHG 78 | |
ELIBACC 79 | Cannot access a needed shared library. |
ELIBBAD 80 | Accessing a corrupted shared library. |
ELIBSCN 81 | lib section in a.out corrupted |
ELIBMAX 82 | Attempting to link in too many shared libraries. |
ELIBEXEC 83 | Cannot execute a shared library directly. |
EILSEQ 84 | |
ERESTART 85 | Interrupted system call should be restarted. |
ESTRPIPE 86 | |
EUSERS 87 | |
ENOTSOCK 88 | |
EDESTADDRREQ 89 | |
EMSGSIZE 90 | |
EPROTOTYPE 91 | |
ENOPROTOOPT 92 | |
EOPNOTSUPP 95 | Operation not supported on socket. |
Operation not supported on socket. The value is the same as that of EOPNOTSUPP. | |
EPFNOSUPPORT 96 | Protocol family not supported. |
EAFNOSUPPORT 97 | |
EADDRINUSE 98 | |
ENETDOWN 100 | |
ENETUNREACH 101 | |
ENETRESET 102 | Network disconnection caused by restart. |
ECONNABORTED 103 | Network disconnection caused by software problems. |
ECONNRESET 104 | |
ENOBUFS 105 | |
EISCONN 106 | |
ENOTCONN 107 | |
ESHUTDOWN 108 | Cannot send after transport endpoint shutdown. |
ETOOMANYREFS 109 | Cannot splice due to too many references. |
ETIMEDOUT 110 | |
ECONNREFUSED 111 | |
EHOSTDOWN 112 | |
EHOSTUNREACH 113 | |
EALREADY 114 | |
EINPROGRESS 115 | |
ESTALE 116 | |
EUCLEAN 117 | |
ENOTNAM 118 | |
ENAVAIL 119 | No XENIX semaphores available. |
EISNAM 120 | |
EREMOTEIO 121 | |
EDQUOT 122 | |
ENOMEDIUM 123 | |
EMEDIUMTYPE 124 | |
ECANCELED 125 | |
ENOKEY 126 | |
EKEYEXPIRED 127 | |
EKEYREVOKED 128 | |
EKEYREJECTED 129 | |
EOWNERDEAD 130 | |
ENOTRECOVERABLE 131 | |
ERFKILL 132 | Operation not possible due to RF-kill. |
EHWPOISON 133 | Hardware errors on the memory page. |