Linux Error Number __linux

Source: Internet
Author: User
Tags socket connection reset
The Linux error number EINTR EINTR is the error number that produces it for 2 reasons: interrupted by a signal, timeout may not be intentional to generate a signal: Process debug Console Switch task switch pseudo terminal disconnect asynchronous IO parent process death cause orphan process child process exit system reboot or shutdown as long as guarantee program does not It may not be necessary to check for signal interruption errors due to the above reasons. /************************************************************************************************************/Cat /usr/include/asm/errno.h #ifndef _i386_errno_h #define _I386_ERRNO_H #define EPERM 1/* Operation not permitted * * #defin E enoent 2/* No such file or directory */#define ESRCH 3/No such process/#define EINTR 4/* Interrupted system cal L/#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/* No Child processes * /#define EAGAIN/* Try again */#define ENOMEM/* Out of memory/#define EACCES/* Permission denied/* #defin e efault/* Bad address/#define ENOTBLK/* block Device required * * * #define EBUSY/* Device or resource busy * /#define Eexist/* File exists */#define EXDEV/* cross-device link/#define ENODEV/* No such device */#define ENOTD IR/* Not a 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 typewriter * * * #define Etxtbsy/* Text file Busy */#define EFBIG/* file too Large/#define ENOSPC/* No spaces left on device * * * #de Fine espipe/* Illegal seek/#define EROFS/* read-only file System/#define EMLINK/* Too links//#def INE epipe/* Broken pipe * * #define EDOM/* Math argument out of domain of func/#define ERANGE/* Math result Not representable */#define EDEADLK/* Resource deadlock would occur/#define ENAMETOOLONG/* File name too long * * #define ENOLCK/* No record locks available/#define ENOSYS/* Function not implemented/#define ENOTEMPTY 39 /* Directory not empty* * #define ELOOP/* Too Many symbolic links encountered/#define Ewouldblock eagain/* Operation would block * * * #defi NE enomsg/No message of desired type */#define EIDRM/* Identifier removed/#define ECHRNG/* Channel Numbe R 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 driver not Attache d/#define ENOCSI/NO CSI structure Available * * #define EL2HLT/* Level 2 halted/#define EBADE/* Invalid Exchange */#define EBADR/* Invalid request Descriptor/#define EXFULL * * Exchange Full/#define ENOANO 55/* No Anode/#define EBADRQC/* Invalid Request code */#define EBADSLT/* Invalid slot/#define Edeadlock EDEADLK #define EBFONT/* Bad font file format */#define ENOSTR/* Device not a stream/#define ENODATA * * No data ava ilable * * #define ETime* * Timer Expired * * * #define ENOSR/* Out of streams resources/#define ENONET/* Machine isn't on the network * * #define ENOPKG/* Package not installed * * eremote * * is remote/#define ENOLINK/* Link has been severed * * * * #define EADV/* Advertise ERROR * * * #define ESRMNT/* srmount error */#define ECOMM/* Communicat Ion error on Send * * * * * * #define EPROTO/Protocol Error/#define EMULTIHOP-Multihop attempted/#define Edotdot RFS/* Specific ERROR * * * * * * * * * * * * */#define EBADMSG/Not A/#define EOVERFLOW/* Value too large for define D Data Type * * * * * #define ENOTUNIQ/* Name not unique on network * * * #define EBADFD/* File descriptor in/* Define EREMCHG/Remote address changed/#define ELIBACC/* Can not access a needed shared library/#define ELI Bbad/* Accessing a corrupted Shared library * */#define ELIBSCN I/*, lib section in a.out corrupted * * * #define ELIBMA X-rays * * Attempting to LiNK in too many shared libraries/#define ELIBEXEC/* cannot exec a shared library directly/#define EILSEQ/* Il Legal byte sequence/#define ERESTART/* Interrupted system call should is restarted/#define ESTRPIPE * * Stream s pipe error/#define EUSERS/* Too many users */#define ENOTSOCK/* Socket operation on Non-socket/#define ED Estaddrreq/* Destination address required/#define EMSGSIZE/* Message too long * * #define EPROTOTYPE/* Proto Col wrong type for socket */#define ENOPROTOOPT/* Protocol not Available/#define EPROTONOSUPPORT/* Protocol No T supported/#define ESOCKTNOSUPPORT/* Socket type not supported/eopnotsupp * * Operation not supported On Transport endpoint */#define EPFNOSUPPORT/* Protocol Family not supported * * #define EAFNOSUPPORT/Address F Amily not supported by Protocol/#define EADDRINUSE/* address already in-use */#define EADDRNOTAVAIL/* Cannot a Ssign requested Address* * #define ENETDOWN/* Network is down/#define ENETUNREACH/* Network is unreachable/#define ENETRESET 102/ * Network dropped connection because of reset/#define ECONNABORTED-* Software caused connection/#define E Connreset/* Connection Reset by Peer * * #define ENOBUFS/No buffer space Available/#define EISCONN-* Tr Ansport endpoint is already connected/#define ENOTCONN/* Transport endpoint are not connected * * * #define Eshutdown 108/* Cannot send after transport endpoint shutdown/#define ETOOMANYREFS 109/* Too many References:cannot-Splice * * #define ETIMEDOUT/* Connection timed 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 now Progress/estale 116/* Stale NFS file handle/#define Euclean 11 7/* Structure needs CLEAning/#define ENOTNAM 118/* Not a XENIX named type file */#define ENAVAIL 119/* No XENIX semaphores/* * #de Fine Eisnam/is a named type file */#define EREMOTEIO 121/Remote I/O error/#define EDQUOT 122/* Quota exceed Ed/#define Enomedium 123/* No medium found/#define EMEDIUMTYPE 124/* Wrong medium type * * * * #endif
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.