Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
errno.h File Reference
#include <asm-generic/errno-base.h>

Go to the source code of this file.

Macros

#define ENOMSG   35 /* No message of desired type */
 
#define EIDRM   36 /* Identifier removed */
 
#define ECHRNG   37 /* Channel number out of range */
 
#define EL2NSYNC   38 /* Level 2 not synchronized */
 
#define EL3HLT   39 /* Level 3 halted */
 
#define EL3RST   40 /* Level 3 reset */
 
#define ELNRNG   41 /* Link number out of range */
 
#define EUNATCH   42 /* Protocol driver not attached */
 
#define ENOCSI   43 /* No CSI structure available */
 
#define EL2HLT   44 /* Level 2 halted */
 
#define EDEADLK   45 /* Resource deadlock would occur */
 
#define EDEADLOCK   EDEADLK
 
#define ENOLCK   46 /* No record locks available */
 
#define EILSEQ   47 /* Illegal byte sequence */
 
#define ENONET   50 /* Machine is not on the network */
 
#define ENODATA   51 /* No data available */
 
#define ETIME   52 /* Timer expired */
 
#define ENOSR   53 /* Out of streams resources */
 
#define ENOSTR   54 /* Device not a stream */
 
#define ENOPKG   55 /* Package not installed */
 
#define ENOLINK   57 /* Link has been severed */
 
#define EADV   58 /* Advertise error */
 
#define ESRMNT   59 /* Srmount error */
 
#define ECOMM   60 /* Communication error on send */
 
#define EPROTO   61 /* Protocol error */
 
#define EMULTIHOP   64 /* Multihop attempted */
 
#define EDOTDOT   66 /* RFS specific error */
 
#define EBADMSG   67 /* Not a data message */
 
#define EUSERS   68 /* Too many users */
 
#define EDQUOT   69 /* Quota exceeded */
 
#define ESTALE   70 /* Stale NFS file handle */
 
#define EREMOTE   71 /* Object is remote */
 
#define EOVERFLOW   72 /* Value too large for defined data type */
 
#define EBADE   160 /* Invalid exchange */
 
#define EBADR   161 /* Invalid request descriptor */
 
#define EXFULL   162 /* Exchange full */
 
#define ENOANO   163 /* No anode */
 
#define EBADRQC   164 /* Invalid request code */
 
#define EBADSLT   165 /* Invalid slot */
 
#define EBFONT   166 /* Bad font file format */
 
#define ENOTUNIQ   167 /* Name not unique on network */
 
#define EBADFD   168 /* File descriptor in bad state */
 
#define EREMCHG   169 /* Remote address changed */
 
#define ELIBACC   170 /* Can not access a needed shared library */
 
#define ELIBBAD   171 /* Accessing a corrupted shared library */
 
#define ELIBSCN   172 /* .lib section in a.out corrupted */
 
#define ELIBMAX   173 /* Attempting to link in too many shared libraries */
 
#define ELIBEXEC   174 /* Cannot exec a shared library directly */
 
#define ERESTART   175 /* Interrupted system call should be restarted */
 
#define ESTRPIPE   176 /* Streams pipe error */
 
#define EUCLEAN   177 /* Structure needs cleaning */
 
#define ENOTNAM   178 /* Not a XENIX named type file */
 
#define ENAVAIL   179 /* No XENIX semaphores available */
 
#define EISNAM   180 /* Is a named type file */
 
#define EREMOTEIO   181 /* Remote I/O error */
 
#define ENOMEDIUM   182 /* No medium found */
 
#define EMEDIUMTYPE   183 /* Wrong medium type */
 
#define ENOKEY   184 /* Required key not available */
 
#define EKEYEXPIRED   185 /* Key has expired */
 
#define EKEYREVOKED   186 /* Key has been revoked */
 
#define EKEYREJECTED   187 /* Key was rejected by service */
 
#define ENOSYM   215 /* symbol does not exist in executable */
 
#define ENOTSOCK   216 /* Socket operation on non-socket */
 
#define EDESTADDRREQ   217 /* Destination address required */
 
#define EMSGSIZE   218 /* Message too long */
 
#define EPROTOTYPE   219 /* Protocol wrong type for socket */
 
#define ENOPROTOOPT   220 /* Protocol not available */
 
#define EPROTONOSUPPORT   221 /* Protocol not supported */
 
#define ESOCKTNOSUPPORT   222 /* Socket type not supported */
 
#define EOPNOTSUPP   223 /* Operation not supported on transport endpoint */
 
#define EPFNOSUPPORT   224 /* Protocol family not supported */
 
#define EAFNOSUPPORT   225 /* Address family not supported by protocol */
 
#define EADDRINUSE   226 /* Address already in use */
 
#define EADDRNOTAVAIL   227 /* Cannot assign requested address */
 
#define ENETDOWN   228 /* Network is down */
 
#define ENETUNREACH   229 /* Network is unreachable */
 
#define ENETRESET   230 /* Network dropped connection because of reset */
 
#define ECONNABORTED   231 /* Software caused connection abort */
 
#define ECONNRESET   232 /* Connection reset by peer */
 
#define ENOBUFS   233 /* No buffer space available */
 
#define EISCONN   234 /* Transport endpoint is already connected */
 
#define ENOTCONN   235 /* Transport endpoint is not connected */
 
#define ESHUTDOWN   236 /* Cannot send after transport endpoint shutdown */
 
#define ETOOMANYREFS   237 /* Too many references: cannot splice */
 
#define EREFUSED   ECONNREFUSED /* for HP's NFS apparently */
 
#define ETIMEDOUT   238 /* Connection timed out */
 
#define ECONNREFUSED   239 /* Connection refused */
 
#define EREMOTERELEASE   240 /* Remote peer released connection */
 
#define EHOSTDOWN   241 /* Host is down */
 
#define EHOSTUNREACH   242 /* No route to host */
 
#define EALREADY   244 /* Operation already in progress */
 
#define EINPROGRESS   245 /* Operation now in progress */
 
#define EWOULDBLOCK   246 /* Operation would block (Linux returns EAGAIN) */
 
#define ENOTEMPTY   247 /* Directory not empty */
 
#define ENAMETOOLONG   248 /* File name too long */
 
#define ELOOP   249 /* Too many symbolic links encountered */
 
#define ENOSYS   251 /* Function not implemented */
 
#define ENOTSUP   252 /* Function not implemented (POSIX.4 / HPUX) */
 
#define ECANCELLED   253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
 
#define ECANCELED   ECANCELLED /* SuSv3 and Solaris wants one 'L' */
 
#define EOWNERDEAD   254 /* Owner died */
 
#define ENOTRECOVERABLE   255 /* State not recoverable */
 
#define ERFKILL   256 /* Operation not possible due to RF-kill */
 
#define EHWPOISON   257 /* Memory page has hardware error */
 

Macro Definition Documentation

#define EADDRINUSE   226 /* Address already in use */

Definition at line 88 of file errno.h.

#define EADDRNOTAVAIL   227 /* Cannot assign requested address */

Definition at line 89 of file errno.h.

#define EADV   58 /* Advertise error */

Definition at line 29 of file errno.h.

#define EAFNOSUPPORT   225 /* Address family not supported by protocol */

Definition at line 87 of file errno.h.

#define EALREADY   244 /* Operation already in progress */

Definition at line 107 of file errno.h.

#define EBADE   160 /* Invalid exchange */

Definition at line 46 of file errno.h.

#define EBADFD   168 /* File descriptor in bad state */

Definition at line 54 of file errno.h.

#define EBADMSG   67 /* Not a data message */

Definition at line 37 of file errno.h.

#define EBADR   161 /* Invalid request descriptor */

Definition at line 47 of file errno.h.

#define EBADRQC   164 /* Invalid request code */

Definition at line 50 of file errno.h.

#define EBADSLT   165 /* Invalid slot */

Definition at line 51 of file errno.h.

#define EBFONT   166 /* Bad font file format */

Definition at line 52 of file errno.h.

#define ECANCELED   ECANCELLED /* SuSv3 and Solaris wants one 'L' */

Definition at line 117 of file errno.h.

#define ECANCELLED   253 /* aio request was canceled before complete (POSIX.4 / HPUX) */

Definition at line 116 of file errno.h.

#define ECHRNG   37 /* Channel number out of range */

Definition at line 8 of file errno.h.

#define ECOMM   60 /* Communication error on send */

Definition at line 31 of file errno.h.

#define ECONNABORTED   231 /* Software caused connection abort */

Definition at line 93 of file errno.h.

#define ECONNREFUSED   239 /* Connection refused */

Definition at line 102 of file errno.h.

#define ECONNRESET   232 /* Connection reset by peer */

Definition at line 94 of file errno.h.

#define EDEADLK   45 /* Resource deadlock would occur */

Definition at line 16 of file errno.h.

#define EDEADLOCK   EDEADLK

Definition at line 17 of file errno.h.

#define EDESTADDRREQ   217 /* Destination address required */

Definition at line 79 of file errno.h.

#define EDOTDOT   66 /* RFS specific error */

Definition at line 36 of file errno.h.

#define EDQUOT   69 /* Quota exceeded */

Definition at line 39 of file errno.h.

#define EHOSTDOWN   241 /* Host is down */

Definition at line 104 of file errno.h.

#define EHOSTUNREACH   242 /* No route to host */

Definition at line 105 of file errno.h.

#define EHWPOISON   257 /* Memory page has hardware error */

Definition at line 125 of file errno.h.

#define EIDRM   36 /* Identifier removed */

Definition at line 7 of file errno.h.

#define EILSEQ   47 /* Illegal byte sequence */

Definition at line 19 of file errno.h.

#define EINPROGRESS   245 /* Operation now in progress */

Definition at line 108 of file errno.h.

#define EISCONN   234 /* Transport endpoint is already connected */

Definition at line 96 of file errno.h.

#define EISNAM   180 /* Is a named type file */

Definition at line 66 of file errno.h.

#define EKEYEXPIRED   185 /* Key has expired */

Definition at line 71 of file errno.h.

#define EKEYREJECTED   187 /* Key was rejected by service */

Definition at line 73 of file errno.h.

#define EKEYREVOKED   186 /* Key has been revoked */

Definition at line 72 of file errno.h.

#define EL2HLT   44 /* Level 2 halted */

Definition at line 15 of file errno.h.

#define EL2NSYNC   38 /* Level 2 not synchronized */

Definition at line 9 of file errno.h.

#define EL3HLT   39 /* Level 3 halted */

Definition at line 10 of file errno.h.

#define EL3RST   40 /* Level 3 reset */

Definition at line 11 of file errno.h.

#define ELIBACC   170 /* Can not access a needed shared library */

Definition at line 56 of file errno.h.

#define ELIBBAD   171 /* Accessing a corrupted shared library */

Definition at line 57 of file errno.h.

#define ELIBEXEC   174 /* Cannot exec a shared library directly */

Definition at line 60 of file errno.h.

#define ELIBMAX   173 /* Attempting to link in too many shared libraries */

Definition at line 59 of file errno.h.

#define ELIBSCN   172 /* .lib section in a.out corrupted */

Definition at line 58 of file errno.h.

#define ELNRNG   41 /* Link number out of range */

Definition at line 12 of file errno.h.

#define ELOOP   249 /* Too many symbolic links encountered */

Definition at line 112 of file errno.h.

#define EMEDIUMTYPE   183 /* Wrong medium type */

Definition at line 69 of file errno.h.

#define EMSGSIZE   218 /* Message too long */

Definition at line 80 of file errno.h.

#define EMULTIHOP   64 /* Multihop attempted */

Definition at line 34 of file errno.h.

#define ENAMETOOLONG   248 /* File name too long */

Definition at line 111 of file errno.h.

#define ENAVAIL   179 /* No XENIX semaphores available */

Definition at line 65 of file errno.h.

#define ENETDOWN   228 /* Network is down */

Definition at line 90 of file errno.h.

#define ENETRESET   230 /* Network dropped connection because of reset */

Definition at line 92 of file errno.h.

#define ENETUNREACH   229 /* Network is unreachable */

Definition at line 91 of file errno.h.

#define ENOANO   163 /* No anode */

Definition at line 49 of file errno.h.

#define ENOBUFS   233 /* No buffer space available */

Definition at line 95 of file errno.h.

#define ENOCSI   43 /* No CSI structure available */

Definition at line 14 of file errno.h.

#define ENODATA   51 /* No data available */

Definition at line 22 of file errno.h.

#define ENOKEY   184 /* Required key not available */

Definition at line 70 of file errno.h.

#define ENOLCK   46 /* No record locks available */

Definition at line 18 of file errno.h.

#define ENOLINK   57 /* Link has been severed */

Definition at line 28 of file errno.h.

#define ENOMEDIUM   182 /* No medium found */

Definition at line 68 of file errno.h.

#define ENOMSG   35 /* No message of desired type */

Definition at line 6 of file errno.h.

#define ENONET   50 /* Machine is not on the network */

Definition at line 21 of file errno.h.

#define ENOPKG   55 /* Package not installed */

Definition at line 26 of file errno.h.

#define ENOPROTOOPT   220 /* Protocol not available */

Definition at line 82 of file errno.h.

#define ENOSR   53 /* Out of streams resources */

Definition at line 24 of file errno.h.

#define ENOSTR   54 /* Device not a stream */

Definition at line 25 of file errno.h.

#define ENOSYM   215 /* symbol does not exist in executable */

Definition at line 77 of file errno.h.

#define ENOSYS   251 /* Function not implemented */

Definition at line 113 of file errno.h.

#define ENOTCONN   235 /* Transport endpoint is not connected */

Definition at line 97 of file errno.h.

#define ENOTEMPTY   247 /* Directory not empty */

Definition at line 110 of file errno.h.

#define ENOTNAM   178 /* Not a XENIX named type file */

Definition at line 64 of file errno.h.

#define ENOTRECOVERABLE   255 /* State not recoverable */

Definition at line 121 of file errno.h.

#define ENOTSOCK   216 /* Socket operation on non-socket */

Definition at line 78 of file errno.h.

#define ENOTSUP   252 /* Function not implemented (POSIX.4 / HPUX) */

Definition at line 115 of file errno.h.

#define ENOTUNIQ   167 /* Name not unique on network */

Definition at line 53 of file errno.h.

#define EOPNOTSUPP   223 /* Operation not supported on transport endpoint */

Definition at line 85 of file errno.h.

#define EOVERFLOW   72 /* Value too large for defined data type */

Definition at line 42 of file errno.h.

#define EOWNERDEAD   254 /* Owner died */

Definition at line 120 of file errno.h.

#define EPFNOSUPPORT   224 /* Protocol family not supported */

Definition at line 86 of file errno.h.

#define EPROTO   61 /* Protocol error */

Definition at line 32 of file errno.h.

#define EPROTONOSUPPORT   221 /* Protocol not supported */

Definition at line 83 of file errno.h.

#define EPROTOTYPE   219 /* Protocol wrong type for socket */

Definition at line 81 of file errno.h.

#define EREFUSED   ECONNREFUSED /* for HP's NFS apparently */

Definition at line 100 of file errno.h.

#define EREMCHG   169 /* Remote address changed */

Definition at line 55 of file errno.h.

#define EREMOTE   71 /* Object is remote */

Definition at line 41 of file errno.h.

#define EREMOTEIO   181 /* Remote I/O error */

Definition at line 67 of file errno.h.

#define EREMOTERELEASE   240 /* Remote peer released connection */

Definition at line 103 of file errno.h.

#define ERESTART   175 /* Interrupted system call should be restarted */

Definition at line 61 of file errno.h.

#define ERFKILL   256 /* Operation not possible due to RF-kill */

Definition at line 123 of file errno.h.

#define ESHUTDOWN   236 /* Cannot send after transport endpoint shutdown */

Definition at line 98 of file errno.h.

#define ESOCKTNOSUPPORT   222 /* Socket type not supported */

Definition at line 84 of file errno.h.

#define ESRMNT   59 /* Srmount error */

Definition at line 30 of file errno.h.

#define ESTALE   70 /* Stale NFS file handle */

Definition at line 40 of file errno.h.

#define ESTRPIPE   176 /* Streams pipe error */

Definition at line 62 of file errno.h.

#define ETIME   52 /* Timer expired */

Definition at line 23 of file errno.h.

#define ETIMEDOUT   238 /* Connection timed out */

Definition at line 101 of file errno.h.

#define ETOOMANYREFS   237 /* Too many references: cannot splice */

Definition at line 99 of file errno.h.

#define EUCLEAN   177 /* Structure needs cleaning */

Definition at line 63 of file errno.h.

#define EUNATCH   42 /* Protocol driver not attached */

Definition at line 13 of file errno.h.

#define EUSERS   68 /* Too many users */

Definition at line 38 of file errno.h.

#define EWOULDBLOCK   246 /* Operation would block (Linux returns EAGAIN) */

Definition at line 109 of file errno.h.

#define EXFULL   162 /* Exchange full */

Definition at line 48 of file errno.h.