1 #define ENOERR 0 2 #define EPERM 1 3 #define ENOENT 2 4 #define ESRCH 3 5 #define EINTR 4 6 #define EIO 5 7 #define ENXIO 6 8 #define E2BIG 7 9 #define ENOEXEC 8 10 #define EBADF 9 11 #define ECHILD 10 12 #define EAGAIN 11 13 #define ENOMEM 12 14 #define EACCES 13 15 #define EFAULT 14 16 #define ENOTBLK 15 17 #define EBUSY 16 18 #define EEXIST 17 19 #define EXDEV 18 20 #define ENODEV 19 21 #define ENOTDIR 20 22 #define EISDIR 21 23 #define EINVAL 22 24 #define ENFILE 23 25 #define EMFILE 24 26 #define ENOTTY 25 27 #define ETXTBSY 26 28 #define EFBIG 27 29 #define ENOSPC 28 30 #define ESPIPE 29 31 #define EROFS 30 32 #define EMLINK 31 33 #define EPIPE 32 34 #define EDOM 33 35 #define ERANGE 34 36 #define EDEADLK 35 37 #define ENAMETOOLONG 36 38 #define ENOLCK 37 39 #define ENOSYS 38 40 #define ENOTEMPTY 39 41 #define ELOOP 40 42 #define EWOULDBLOCK EAGAIN 43 #define ENOMSG 42 44 #define EIDRM 43 45 #define ECHRNG 44 46 #define EL2NSYNC 45 47 #define EL3HLT 46 48 #define EL3RST 47 49 #define ELNRNG 48 50 #define EUNATCH 49 51 #define ENOCSI 50 52 #define EL2HLT 51 53 #define EBADE 52 54 #define EBADR 53 55 #define EXFULL 54 56 #define ENOANO 55 57 #define EBADRQC 56 58 #define EBADSLT 57 59 #define EDEADLOCK EDEADLK 60 #define EBFONT 59 61 #define ENOSTR 60 62 #define ENODATA 61 63 #define ETIME 62 64 #define ENOSR 63 65 #define ENONET 64 66 #define ENOPKG 65 67 #define EREMOTE 66 68 #define ENOLINK 67 69 #define EADV 68 70 #define ESRMNT 69 71 #define ECOMM 70 72 #define EPROTO 71 73 #define EMULTIHOP 72 74 #define EDOTDOT 73 75 #define EBADMSG 74 76 #define EOVERFLOW 75 77 #define ENOTUNIQ 76 78 #define EBADFD 77 79 #define EREMCHG 78 80 #define ELIBACC 79 81 #define ELIBBAD 80 82 #define ELIBSCN 81 83 #define ELIBMAX 82 84 #define ELIBEXEC 83 85 #define EILSEQ 84 86 #define ERESTART 85 87 #define ESTRPIPE 86 88 #define EUSERS 87 89 #define ENOTSOCK 88 90 #define EDESTADDRREQ 89 91 #define EMSGSIZE 90 92 #define EPROTOTYPE 91 93 #define ENOPROTOOPT 92 94 #define EPROTONOSUPPORT 93 95 #define ESOCKTNOSUPPORT 94 96 #define EOPNOTSUPP 95 97 #define ENOTSUP EOPNOTSUPP 98 #define EPFNOSUPPORT 96 99 #define EAFNOSUPPORT 97 100 #define EADDRINUSE 98 101 #define EADDRNOTAVAIL 99 102 #define ENETDOWN 100 103 #define ENETUNREACH 101 104 #define ENETRESET 102 105 #define ECONNABORTED 103 106 #define ECONNRESET 104 107 #define ENOBUFS 105 108 #define EISCONN 106 109 #define ENOTCONN 107 110 #define ESHUTDOWN 108 111 #define ETOOMANYREFS 109 112 #define ETIMEDOUT 110 113 #define ECONNREFUSED 111 114 #define EHOSTDOWN 112 115 #define EHOSTUNREACH 113 116 #define EALREADY 114 117 #define EINPROGRESS 115 118 #define ESTALE 116 119 #define EUCLEAN 117 120 #define ENOTNAM 118 121 #define ENAVAIL 119 122 #define EISNAM 120 123 #define EREMOTEIO 121 124 #define EDQUOT 122 125 #define ENOMEDIUM 123 126 #define EMEDIUMTYPE 124 127 #define ECANCELED 125 128 #define ENOKEY 126 129 #define EKEYEXPIRED 127 130 #define EKEYREVOKED 128 131 #define EKEYREJECTED 129 132 #define EOWNERDEAD 130 133 #define ENOTRECOVERABLE 131 134 #define ERFKILL 132 135 #define EHWPOISON 133 136