Linux below errno.h file error number description

Source: Internet
Author: User
Tags reset resource socket connection reset

In centos6.2, it is divided into two files, one in/usr/include/asm-generic/errno-base.h, the other in/usr/include/asm-generic/errno.h

The contents of the/usr/include/asm-generic/errno-base.h file are as follows:

 <span style= "FONT-SIZE:12PX;"  > #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/N O such device or address/#define E2BIG 7/* Argument list too long */#define ENOEXEC 8/* Exec format error */#de Fine EBADF 9/* Bad file number/#define ECHILD/* No Child processes * * #define EAGAIN/* Try again/* #defin e Enomem/out of memory * * * #define EACCES/* Permission denied/#define EFAULT/* Bad address/#define E NOTBLK/* block device required/#define EBUSY/* Device or resource busy/#define EEXIST/* File exists *  /#define EXDEV/* cross-device link/#define ENODEV/* No such device * * #define ENOTDIR/Not Directory
* * #define EISDIR/is a directory */#define EINVAL/* Invalid argument * *#define ENFILE/* File table overflow */#define EMFILE/* Too many open files */#define ENOTTY/Not a type Writer * * * #define ETXTBSY/* Text file Busy/#define EFBIG/* file too Large/#define ENOSPC/* No space L  EFT on Device */#define ESPIPE/* Illegal seek/#define EROFS/* read-only file System/#define EMLINK 31/*	Too many links/#define EPIPE/* Broken pipe/#define EDOM/* Math argument out of domain of func * * #define Erange/* Math result is not representable */</span> 

The

/usr/include/asm-generic/errno.h file contents are as follows

&lt;span style= "FONT-SIZE:12PX;"		&gt; #define EDEADLK 35/* Resource deadlock would occur/#define ENAMETOOLONG/* File name too long */#define Enolck /no record locks available/#define ENOSYS/* Function not implemented/#define ENOTEMPTY/* Directory No  T empty */#define ELOOP/* Too Many symbolic links encountered/#define Ewouldblock eagain/* Operation would block * * #define ENOMSG/* No message of desired type */#define EIDRM/* Identifier removed/#define ECHRNG/* C Hannel number out of range/#define EL2NSYNC/* Level 2 is not synchronized * * #define EL3HLT/Level 3 halted/* Define El3rst/Level 3 Reset */#define ELNRNG/* Link number out of range/#define EUNATCH/* Protocol Dr Iver Not attached * * #define ENOCSI/NO CSI structure available/#define EL2HLT/* Level 2 halted/#define E Bade/* Invalid Exchange/#define EBADR/* Invalid request Descriptor/#define EXFULL * * Exchange Full/#define ENOANO/* No Anode * * * #define EBADRQC-Invalid Request code */#define EBADSLT/* Invalid s  Lot * * * #define EDEADLOCK EDEADLK #define EBFONT/* Bad font file format/#define ENOSTR/* Device not a stream * * #define ENODATA/* NO data available * * #define ETIME/* Timer expired/#define ENOSR/out of streams 	Resources/#define ENONET/* Machine is isn't on the network * * * enopkg * * Package not installed * * * * #define 
Eremote/* Object is remote * * * #define ENOLINK/Link has been severed/#define EADV/* Advertise Error * *  #define ESRMNT/* srmount error */#define ECOMM/* communication error on Send/#define EPROTO/* Protocol Error */#define EMULTIHOP-Multihop Attempted * * * * * #define EDOTDOT * * RFS specific error */#define EBADMSG 74/ * Not a data message */#define EOVERFLOW/* Value too large for defined data type * * * #define ENOTUNIQ-* * Name not U Nique on Network * * #defINE EBADFD/* File descriptor in Bad state/#define EREMCHG/Remote address changed/#define ELIBACC 79/*		Can not access a needed shared library/#define ELIBBAD/* Accessing a corrupted Shared library * */#define ELIBSCN 	I/*. lib section in a.out corrupted/#define ELIBMAX/* Attempting to link in too many shared libraries * * #define ELIBEXEC/* cannot exec a shared library directly/#define EILSEQ/* Illegal byte sequence/#define ERESTART 8  5/* Interrupted system call should is restarted/#define ESTRPIPE * * Streams Pipe error */#define EUSERS/* Too Many users/#define ENOTSOCK/* Socket operation on Non-socket * * * * #define EDESTADDRREQ/* Destination Address req uired/#define EMSGSIZE/* message too long/#define EPROTOTYPE/* Protocol wrong type for socket */#define ENO protoopt/* Protocol not Available/#define EPROTONOSUPPORT * * Protocol not supported/#define ESOCKTNOSUPPORT 9 4/* Socket type not supPorted */#define EOPNOTSUPP/* Operation not supported on transport endpoint/#define EPFNOSUPPORT/* Protocol FA Mily not supported */#define EAFNOSUPPORT Family not supported by Protocol/#define EADDRINUSE/* ADDR ESS already in use/#define EADDRNOTAVAIL/* Cannot assign requested address/#define ENETDOWN/* Network are DO WN/#define ENETUNREACH/* Network is unreachable/#define ENETRESET 102/* Network dropped connection because Reset */#define ECONNABORTED Software/* caused connection Abort/#define ECONNRESET/* Connection reset by pee R/#define ENOBUFS/No buffer space Available * * #define EISCONN/Transport endpoint is already connected * * #define ENOTCONN/* Transport endpoint is not connected */#define ESHUTDOWN 108/* Cannot send after transport Point shutdown/#define ETOOMANYREFS 109/* Too many references:cannot splice * #define ETIMEDOUT/* Connection Ti Med out */#define EconnRefused/* Connection refused/#define EHOSTDOWN 112/* Host is down/#define EHOSTUNREACH 113/* No route to Host * * #define EALREADY 114/* Operation already in progress/#define EINPROGRESS * * Operation-*/#defi  NE estale 116/* Stale NFS file handle/#define EUCLEAN 117/* Structure needs * * * #define CLEANING enotnam/* A xenix named type file/#define ENAVAIL 119/No Xenix semaphores-*/#define AVAILABLE/is a eisnam named E 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-Operation-Canceled * * #define Enokey 126/* Required key not available/#define EKEYEXPIRED 127/* Key has expired * * #define EKEYREVOKED 128/* Key has been revoked/#define EKEYREJECTED 129/* Key is rejected by service/* for robust mutexes/* #define Eownerdea D 130/* Owner died * *Define enotrecoverable 131/* State not recoverable/#define ERFKILL 132/* Operation not possible due to Rf-kill * * #define EHWPOISON * * Memory page has hardware error */#endif &lt;/span&gt;
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.