Linux C program error code-Linux general technology-Linux programming and kernel information. The following is a detailed description. The system error message number is in/usr/include/asm/error. h.
# Ifndef _ i1__errno_h
# Define _ i1__errno_h
# Define EPERM 1/* Operation not permitted */
# Define ENOENT 2/* No such file or directory */
# Define ESRCH 3/* No such process */
# Define EINTR 4/* Interrupted system call */
# Define EIO 5/* I/O error */
# Define ENXIO 6/* No such device or address */
# Define E2BIG 7/* Arg list too long */
# Define ENOEXEC 8/* Exec format error */
# Define EBADF 9/* Bad file number */
# Define ECHILD 10/* No child processes */
# Define EAGAIN 11/* Try again */
# Define ENOMEM 12/* Out of memory */
# Define EACCES 13/* Permission denied */
# Define EFAULT 14/* Bad address */
# Define ENOTBLK 15/* Block device required */
# Define EBUSY 16/* Device or resource busy */
# Define EEXIST 17/* File exists */
# Define EXDEV 18/* Cross-device link */
# Define ENODEV 19/* No such device */
# Define ENOTDIR 20/* Not a directory */
# Define EISDIR 21/* Is a directory */
# Define EINVAL 22/* Invalid argument */
# Define ENFILE 23/* File table overflow */
# Define EMFILE 24/* Too program open files */
# Define ENOTTY 25/* Not a typewriter */
# Define ETXTBSY 26/* Text file busy */
# Define EFBIG 27/* File too large */
# Define ENOSPC 28/* No space left on device */
# Define ESPIPE 29/* Illegal seek */
# Define EROFS 30/* Read-only file system */
# Define EMLINK 31/* Too worker links */
# Define EPIPE 32/* Broken pipe */
# Define EDOM 33/* Math argument out of domain of func */
# Define ERANGE 34/* Math result not representable */
# Define EDEADLK 35/* Resource deadlock wocould occur */
# Define enamlong long 36/* File name too long */
# Define ENOLCK 37/* No record locks available */
# Define ENOSYS 38/* Function not implemented */
# Define ENOTEMPTY 39/* Directory not empty */
# Define ELOOP 40/* Too define symbolic links encountered */
# Define ewouldblock eagain/* Operation wocould block */
# Define ENOMSG 42/* No message of desired type */
# Define EIDRM 43/* Identifier removed */
# Define ECHRNG 44/* Channel number out of range */
# Define EL2NSYNC 45/* Level 2 not synchronized */
# Define EL3HLT 46/* Level 3 halted */
# Define EL3RST 47/* Level 3 reset */
# Define ELNRNG 48/* Link number out of range */
# Define EUNATCH 49/* Protocol driver not attached */
# Define ENOCSI 50/* No CSI structure available */
# Define EL2HLT 51/* Level 2 halted */
# Define EBADE 52/* Invalid exchange */
# Define EBADR 53/* Invalid request descriptor */
# Define EXFULL 54/* Exchange full */
# Define ENOANO 55/* No anode */
# Define EBADRQC 56/* Invalid request code */
# Define EBADSLT 57/* Invalid slot */
# Define EDEADLOCK EDEADLK
# Define EBFONT 59/* Bad font file format */
# Define ENOSTR 60/* Device not a stream */
# Define ENODATA 61/* No data available */
# Define ETIME 62/* Timer expired */
# Define ENOSR 63/* Out of streams resources */
# Define ENONET 64/* Machine is not on the network */
# Define ENOPKG 65/* Package not installed */
# Define EREMOTE 66/* Object is remote */
# Define ENOLINK 67/* Link has been severed */
# Define EADV 68/* Advertise error */
# Define ESRMNT 69/* Srmount error */
# Define ECOMM 70/* Communication error on send */
# Define EPROTO 71/* Protocol error */
# Define EMULTIHOP 72/* Multihop attempted */
# Define EDOTDOT 73/* RFS specific error */
# Define EBADMSG 74/* Not a data message */
# Define EOVERFLOW 75/* Value too large for defined data type */
# Define ENOTUNIQ 76/* Name not unique on network */
# Define EBADFD 77/* File descriptor in bad state */
# Define EREMCHG 78/* Remote address changed */
# Define ELIBACC 79/* Can not access a needed shared library */
# Define ELIBBAD 80/* Accessing a specified upted shared library */
# Define ELIBSCN 81/*. lib section in a. out partition upted */
# Define ELIBMAX 82/* Attempting to link in too functions shared libraries */
# Define ELIBEXEC 83/* Cannot exec a shared library directly */
# Define EILSEQ 84/* Illegal byte sequence */
# Define ERESTART 85/* Interrupted system call shoshould be restarted */
# Define ESTRPIPE 86/* Streams pipe error */
# Define EUSERS 87/* Too worker users */
# Define ENOTSOCK 88/* Socket operation on non-socket */
# Define EDESTADDRREQ 89/* Destination address required */
# Define EMSGSIZE 90/* Message too long */
# Define EPROTOTYPE 91/* Protocol wrong type for socket */
# Define ENOPROTOOPT 92/* Protocol not available */
# Define EPROTONOSUPPORT 93/* Protocol not supported */
# Define ESOCKTNOSUPPORT 94/* Socket type not supported */
# Define EOPNOTSUPP 95/* Operation not supported on transport endpoint */
# Define EPFNOSUPPORT 96/* Protocol family not supported */
# Define EAFNOSUPPORT 97/* Address family not supported by protocol */
# Define EADDRINUSE 98/* Address already in use */
# Define EADDRNOTAVAIL 99/* Cannot assign requested address */
# Define ENETDOWN 100/* Network is down */
# Define ENETUNREACH 101/* Network is unreachable */
# Define ENETRESET 102/* Network dropped connection because of reset */
# Define ECONNABORTED 103/* Software caused connection abort */
# Define ECONNRESET 104/* Connection reset by peer */
# Define ENOBUFS 105/* No buffer space available */
# Define EISCONN 106/* Transport endpoint is already connected */
# Define ENOTCONN 107/* Transport endpoint is not connected */
# Define eshudown 108/* Cannot send after transport endpoint shutdown */
# Define enough manyrefs 109/* Too enough references: cannot splice */
# Define ETIMEDOUT 110/* Connection timed out */
# Define ECONNREFUSED 111/* Connection refused */
# Define EHOSTDOWN 112/* Host is down */
# Define EHOSTUNREACH 113/* No route to host */
# Define EALREADY 114/* Operation already in progress */
# Define EINPROGRESS 115/* Operation now in progress */
# Define ESTALE 116/* Stale NFS file handle */
# Define EUCLEAN 117/* Structure needs cleaning */
# Define ENOTNAM 118/* Not a XENIX named type file */
# Define ENAVAIL 119/* No XENIX semaphores available */
# Define EISNAM 120/* Is a named type file */
# Define EREMOTEIO 121/* Remote I/O error */
# Define EDQUOT 122/* Quota exceeded */
# Define ENOMEDIUM 123/* No medium found */
# Define EMEDIUMTYPE 124/* Wrong medium type */
# Define ECANCELED 125/* Operation Cancelled */
# Define ENOKEY 126/* Required key not available */
# Define EKEYEXPIRED 127/* Key has expired */
# Define EKEYREVOKED 128/* Key has been revoked */
# Define EKEYREJECTED 129/* Key was rejected by service */
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.