Error number reference

Are you tired of grepping /usr/include to figure out what that system error number means? Here's a handy guide to all the errno values for your system. Use your browser search functionality to find the one you're looking for or just scroll down the table.

You are viewing the error codes for Windows; if you want to view the error codes for a different operating system, select it from the dropdown menu.

#    #define          Description
1    EPERM            Operation not permitted
2    ENOENT           No such file or directory
3    ESRCH            No such process
4    EINTR            Interrupted system call
5    EIO              I/O error
6    ENXIO            No such device or address
7    E2BIG            Argument list too long
8    ENOEXEC          Exec format error
9    EBADF            Bad file number
10   ECHILD           No spawned processes
11   EAGAIN           No more processes or not enough memory or maximum nesting level reached
12   ENOMEM           Not enough memory
13   EACCES           Permission denied
14   EFAULT           Bad address
16   EBUSY            Device or resource busy
17   EEXIST           File exists
18   EXDEV            Cross-device link
19   ENODEV           No such device
20   ENOTDIR          Not a directory
21   EISDIR           Is a directory
22   EINVAL           Invalid argument
23   ENFILE           Too many files open in system
24   EMFILE           Too many open files
25   ENOTTY           Inappropriate I/O control operation
27   EFBIG            File too large
28   ENOSPC           No space left on device
29   ESPIPE           Invalid seek
30   EROFS            Read-only file system
31   EMLINK           Too many links
32   EPIPE            Broken pipe
33   EDOM             Math argument
34   ERANGE           Result too large
36   EDEADLK          Resource deadlock would occur
36   EDEADLOCK        Same as EDEADLK
38   ENAMETOOLONG     Filename too long
39   ENOLCK           No locks available
40   ENOSYS           Function not supported
41   ENOTEMPTY        Directory not empty
42   EILSEQ           Illegal byte sequence
80   STRUNCATE        String was truncated

JSON interface

To load the error information as JSON, use:
/api/errno/windows/json

[
   {
      "const" : "EPERM",
      "desc" : "Operation not permitted",
      "errno" : 1
   },
   {
      "const" : "ENOENT",
      "desc" : "No such file or directory",
      "errno" : 2
   },
   {
      "const" : "ESRCH",
      "desc" : "No such process",
      "errno" : 3
   },
   {
      "const" : "EINTR",
      "desc" : "Interrupted system call",
      "errno" : 4
   },
   {
      "const" : "EIO",
      "desc" : "I/O error",
      "errno" : 5
   },
   {
      "const" : "ENXIO",
      "desc" : "No such device or address",
      "errno" : 6
   },
   {
      "const" : "E2BIG",
      "desc" : "Argument list too long",
      "errno" : 7
   },
   {
      "const" : "ENOEXEC",
      "desc" : "Exec format error",
      "errno" : 8
   },
   {
      "const" : "EBADF",
      "desc" : "Bad file number",
      "errno" : 9
   },
   {
      "const" : "ECHILD",
      "desc" : "No spawned processes",
      "errno" : 10
   },
   {
      "const" : "EAGAIN",
      "desc" : "No more processes or not enough memory or maximum nesting level reached",
      "errno" : 11
   },
   {
      "const" : "ENOMEM",
      "desc" : "Not enough memory",
      "errno" : 12
   },
   {
      "const" : "EACCES",
      "desc" : "Permission denied",
      "errno" : 13
   },
   {
      "const" : "EFAULT",
      "desc" : "Bad address",
      "errno" : 14
   },
   {
      "const" : "EBUSY",
      "desc" : "Device or resource busy",
      "errno" : 16
   },
   {
      "const" : "EEXIST",
      "desc" : "File exists",
      "errno" : 17
   },
   {
      "const" : "EXDEV",
      "desc" : "Cross-device link",
      "errno" : 18
   },
   {
      "const" : "ENODEV",
      "desc" : "No such device",
      "errno" : 19
   },
   {
      "const" : "ENOTDIR",
      "desc" : "Not a directory",
      "errno" : 20
   },
   {
      "const" : "EISDIR",
      "desc" : "Is a directory",
      "errno" : 21
   },
   {
      "const" : "EINVAL",
      "desc" : "Invalid argument",
      "errno" : 22
   },
   {
      "const" : "ENFILE",
      "desc" : "Too many files open in system",
      "errno" : 23
   },
   {
      "const" : "EMFILE",
      "desc" : "Too many open files",
      "errno" : 24
   },
   {
      "const" : "ENOTTY",
      "desc" : "Inappropriate I/O control operation",
      "errno" : 25
   },
   {
      "const" : "EFBIG",
      "desc" : "File too large",
      "errno" : 27
   },
   {
      "const" : "ENOSPC",
      "desc" : "No space left on device",
      "errno" : 28
   },
   {
      "const" : "ESPIPE",
      "desc" : "Invalid seek",
      "errno" : 29
   },
   {
      "const" : "EROFS",
      "desc" : "Read-only file system",
      "errno" : 30
   },
   {
      "const" : "EMLINK",
      "desc" : "Too many links",
      "errno" : 31
   },
   {
      "const" : "EPIPE",
      "desc" : "Broken pipe",
      "errno" : 32
   },
   {
      "const" : "EDOM",
      "desc" : "Math argument",
      "errno" : 33
   },
   {
      "const" : "ERANGE",
      "desc" : "Result too large",
      "errno" : 34
   },
   {
      "const" : "EDEADLK",
      "desc" : "Resource deadlock would occur",
      "errno" : 36
   },
   {
      "const" : "EDEADLOCK",
      "desc" : "Same as EDEADLK",
      "errno" : 36
   },
   {
      "const" : "ENAMETOOLONG",
      "desc" : "Filename too long",
      "errno" : 38
   },
   {
      "const" : "ENOLCK",
      "desc" : "No locks available",
      "errno" : 39
   },
   {
      "const" : "ENOSYS",
      "desc" : "Function not supported",
      "errno" : 40
   },
   {
      "const" : "ENOTEMPTY",
      "desc" : "Directory not empty",
      "errno" : 41
   },
   {
      "const" : "EILSEQ",
      "desc" : "Illegal byte sequence",
      "errno" : 42
   },
   {
      "const" : "STRUNCATE",
      "desc" : "String was truncated",
      "errno" : 80
   }
]

For JSONP, add a callback value as a query parameter:
/api/errno/windows/json?callback=myCallback