Skip to content

Instantly share code, notes, and snippets.

@tschaefer
Created April 9, 2014 08:00
Show Gist options
  • Save tschaefer/10238715 to your computer and use it in GitHub Desktop.
Save tschaefer/10238715 to your computer and use it in GitHub Desktop.
glibc linux error list
code[1] define[EPERM] str[Operation not permitted]
code[2] define[ENOENT] str[No such file or directory]
code[3] define[ESRCH] str[No such process]
code[4] define[EINTR] str[Interrupted system call]
code[5] define[EIO] str[Input/output error]
code[6] define[ENXIO] str[No such device or address]
code[7] define[E2BIG] str[Argument list too long]
code[8] define[ENOEXEC] str[Exec format error]
code[9] define[EBADF] str[Bad file descriptor]
code[10] define[ECHILD] str[No child processes]
code[11] define[EAGAIN] str[Resource temporarily unavailable]
code[11] define[EWOULDBLOCK] str[Resource temporarily unavailable]
code[12] define[ENOMEM] str[Cannot allocate memory]
code[13] define[EACCES] str[Permission denied]
code[14] define[EFAULT] str[Bad address]
code[15] define[ENOTBLK] str[Block device required]
code[16] define[EBUSY] str[Device or resource busy]
code[17] define[EEXIST] str[File exists]
code[18] define[EXDEV] str[Invalid cross-device link]
code[19] define[ENODEV] str[No such device]
code[20] define[ENOTDIR] str[Not a directory]
code[21] define[EISDIR] str[Is a directory]
code[22] define[EINVAL] str[Invalid argument]
code[23] define[ENFILE] str[Too many open files in system]
code[24] define[EMFILE] str[Too many open files]
code[25] define[ENOTTY] str[Inappropriate ioctl for device]
code[26] define[ETXTBSY] str[Text file busy]
code[27] define[EFBIG] str[File too large]
code[28] define[ENOSPC] str[No space left on device]
code[29] define[ESPIPE] str[Illegal seek]
code[30] define[EROFS] str[Read-only file system]
code[31] define[EMLINK] str[Too many links]
code[32] define[EPIPE] str[Broken pipe]
code[33] define[EDOM] str[Numerical argument out of domain]
code[34] define[ERANGE] str[Numerical result out of range]
code[35] define[EDEADLK] str[Resource deadlock avoided]
code[35] define[EDEADLOCK] str[Resource deadlock avoided]
code[36] define[ENAMETOOLONG] str[File name too long]
code[37] define[ENOLCK] str[No locks available]
code[38] define[ENOSYS] str[Function not implemented]
code[39] define[ENOTEMPTY] str[Directory not empty]
code[40] define[ELOOP] str[Too many levels of symbolic links]
code[42] define[ENOMSG] str[No message of desired type]
code[43] define[EIDRM] str[Identifier removed]
code[44] define[ECHRNG] str[Channel number out of range]
code[45] define[EL2NSYNC] str[Level 2 not synchronized]
code[46] define[EL3HLT] str[Level 3 halted]
code[47] define[EL3RST] str[Level 3 reset]
code[48] define[ELNRNG] str[Link number out of range]
code[49] define[EUNATCH] str[Protocol driver not attached]
code[50] define[ENOCSI] str[No CSI structure available]
code[51] define[EL2HLT] str[Level 2 halted]
code[52] define[EBADE] str[Invalid exchange]
code[53] define[EBADR] str[Invalid request descriptor]
code[54] define[EXFULL] str[Exchange full]
code[55] define[ENOANO] str[No anode]
code[56] define[EBADRQC] str[Invalid request code]
code[57] define[EBADSLT] str[Invalid slot]
code[59] define[EBFONT] str[Bad font file format]
code[60] define[ENOSTR] str[Device not a stream]
code[61] define[ENODATA] str[No data available]
code[62] define[ETIME] str[Timer expired]
code[63] define[ENOSR] str[Out of streams resources]
code[64] define[ENONET] str[Machine is not on the network]
code[65] define[ENOPKG] str[Package not installed]
code[66] define[EREMOTE] str[Object is remote]
code[67] define[ENOLINK] str[Link has been severed]
code[68] define[EADV] str[Advertise error]
code[69] define[ESRMNT] str[Srmount error]
code[70] define[ECOMM] str[Communication error on send]
code[71] define[EPROTO] str[Protocol error]
code[72] define[EMULTIHOP] str[Multihop attempted]
code[73] define[EDOTDOT] str[RFS specific error]
code[74] define[EBADMSG] str[Bad message]
code[75] define[EOVERFLOW] str[Value too large for defined data type]
code[76] define[ENOTUNIQ] str[Name not unique on network]
code[77] define[EBADFD] str[File descriptor in bad state]
code[78] define[EREMCHG] str[Remote address changed]
code[79] define[ELIBACC] str[Can not access a needed shared library]
code[80] define[ELIBBAD] str[Accessing a corrupted shared library]
code[81] define[ELIBSCN] str[.lib section in a.out corrupted]
code[82] define[ELIBMAX] str[Attempting to link in too many shared libraries]
code[83] define[ELIBEXEC] str[Cannot exec a shared library directly]
code[84] define[EILSEQ] str[Invalid or incomplete multibyte or wide character]
code[85] define[ERESTART] str[Interrupted system call should be restarted]
code[86] define[ESTRPIPE] str[Streams pipe error]
code[87] define[EUSERS] str[Too many users]
code[88] define[ENOTSOCK] str[Socket operation on non-socket]
code[89] define[EDESTADDRREQ] str[Destination address required]
code[90] define[EMSGSIZE] str[Message too long]
code[91] define[EPROTOTYPE] str[Protocol wrong type for socket]
code[92] define[ENOPROTOOPT] str[Protocol not available]
code[93] define[EPROTONOSUPPORT] str[Protocol not supported]
code[94] define[ESOCKTNOSUPPORT] str[Socket type not supported]
code[95] define[EOPNOTSUPP] str[Operation not supported]
code[95] define[ENOTSUP] str[Operation not supported]
code[96] define[EPFNOSUPPORT] str[Protocol family not supported]
code[97] define[EAFNOSUPPORT] str[Address family not supported by protocol]
code[98] define[EADDRINUSE] str[Address already in use]
code[99] define[EADDRNOTAVAIL] str[Cannot assign requested address]
code[100] define[ENETDOWN] str[Network is down]
code[101] define[ENETUNREACH] str[Network is unreachable]
code[102] define[ENETRESET] str[Network dropped connection on reset]
code[103] define[ECONNABORTED] str[Software caused connection abort]
code[104] define[ECONNRESET] str[Connection reset by peer]
code[105] define[ENOBUFS] str[No buffer space available]
code[106] define[EISCONN] str[Transport endpoint is already connected]
code[107] define[ENOTCONN] str[Transport endpoint is not connected]
code[108] define[ESHUTDOWN] str[Cannot send after transport endpoint shutdown]
code[109] define[ETOOMANYREFS] str[Too many references: cannot splice]
code[110] define[ETIMEDOUT] str[Connection timed out]
code[111] define[ECONNREFUSED] str[Connection refused]
code[112] define[EHOSTDOWN] str[Host is down]
code[113] define[EHOSTUNREACH] str[No route to host]
code[114] define[EALREADY] str[Operation already in progress]
code[115] define[EINPROGRESS] str[Operation now in progress]
code[116] define[ESTALE] str[Stale NFS file handle]
code[117] define[EUCLEAN] str[Structure needs cleaning]
code[118] define[ENOTNAM] str[Not a XENIX named type file]
code[119] define[ENAVAIL] str[No XENIX semaphores available]
code[120] define[EISNAM] str[Is a named type file]
code[121] define[EREMOTEIO] str[Remote I/O error]
code[122] define[EDQUOT] str[Disk quota exceeded]
code[123] define[ENOMEDIUM] str[No medium found]
code[124] define[EMEDIUMTYPE] str[Wrong medium type]
code[125] define[ECANCELED] str[Operation canceled]
code[126] define[ENOKEY] str[Required key not available]
code[127] define[EKEYEXPIRED] str[Key has expired]
code[128] define[EKEYREVOKED] str[Key has been revoked]
code[129] define[EKEYREJECTED] str[Key was rejected by service]
code[130] define[EOWNERDEAD] str[Owner died]
code[131] define[ENOTRECOVERABLE] str[State not recoverable]
code[132] define[ERFKILL] str[Operation not possible due to RF-kill]
code[133] define[EHWPOISON] str[Unknown error 133]
@tschaefer
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment