Python errno module corresponds to the value in Errno.h in Linux

Source: Internet
Author: User
Tags connection reset

Linux/include/uapi/asm-generic/errno.h
1 #ifndef _asm_generic_errno_h 2 #define _ASM_GENERIC_ERRNO_H 3 4 #include <asm-generic/errno-base.h> 5 6 #de Fine Edeadlk 35/ * Resource deadlock would occur * /7 #define Enametoolong 36/ * File name too long * /8 #define ENOLCK 37/ * No record locks available * /9 #define Enosys 38/ * Function not implemented * /#define ENOTEMPTY 39/ * Directory not empty * /#define ELOOP 40/ * Too Many symbolic links encountered * /#define Ewouldblock Eagain/ * operation would 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 59 #define Ebfont/ * 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 * /Panax Notoginseng #define ENONET 64/* Machine isn't on the network * /#define ENOPKG 65/* Package not installed * /66 Eremote #define/ * Object is remote * /#define Enolink 67/ * Link has been severed * /68 EADV #define/ * 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 * /76 Enotuniq #define/ * Name not unique on network * /#define EBADFD 77/ * File descriptor in bad state */Wuyi #define EREMCHG 78/ * Remote address changed * /#define ELIBACC 79/ * Can not access a needed shared library * /#define ELIBBAD 80/ * Accessing a corrupted Shared library * /81 ELIBSCN #define/ * Lib section in a.out corrupted * /#define ELIBMAX 82/ * Attempting to link in too many shared libraries * /#define ELIBEXEC 83/ * cannot exec a shared library directly * /84 EILSEQ #define/ * Illegal byte sequence * /85 Erestart #define/ * Interrupted system call should is restarted * /86 Estrpipe #define/ * Streams Pipe error * /#define EUSERS 87/ * Too Many 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 * /93 Eprotonosupport #define/ * 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 */101 Enetunreach #define/ * Network is unreachable * /#define ENETRESET 102/ * Network dropped connection because of reset * /#define ECONNABORTED 103/ * Software caused connection abort * /104 Econnreset #define/ * 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 * /Bayi #define Eshutdown 108/ * Cannot send after transport endpoint shutdown * /109 Etoomanyrefs #define/ * Too many 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 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 * /94 #define EREMOTEIO 121/* Remote I/O error */#define EDQUOT 122/ * Quota exceeded * /#define Enomedium 123/ * No Medium found * /98 #define EMEDIUMTYPE 124/ * Wrong medium type * /#define ECANCELED 125/ * Operation Canceled * /#define ENOKEY 126/ * Required key Not available * /101 #define EKEYEXPIRED 127/ * Key has expired * /102 #define EKEYREVOKED 128/ * Key has been revoked * /103 #define EKEYREJECTED 129/ * Key was rejected by service * /104 105/ * for robust mutexes * /106 #define EOWNERDEAD 130/ * Owner died * /107 #define ENOTRECOVERABLE 131/* State not recoverable * /108 109 #define Erfkill 132/ * Operation not possible due to Rf-kill * /111 #define Ehwpoison 133/ * Memory page has hardware error * /113 #endif114

Python errno module corresponds to the value in Errno.h in Linux

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.