Added a test for the ability to specify a class attribute in Formatter configuration...
[python.git] / Doc / lib / liberrno.tex
blobc0ce6e8b38422844f2babb49ae4f9094bce0ffa4
1 \section{\module{errno} ---
2 Standard errno system symbols}
4 \declaremodule{standard}{errno}
5 \modulesynopsis{Standard errno system symbols.}
8 This module makes available standard \code{errno} system symbols.
9 The value of each symbol is the corresponding integer value.
10 The names and descriptions are borrowed from \file{linux/include/errno.h},
11 which should be pretty all-inclusive.
13 \begin{datadesc}{errorcode}
14 Dictionary providing a mapping from the errno value to the string
15 name in the underlying system. For instance,
16 \code{errno.errorcode[errno.EPERM]} maps to \code{'EPERM'}.
17 \end{datadesc}
19 To translate a numeric error code to an error message, use
20 \function{os.strerror()}.
22 Of the following list, symbols that are not used on the current
23 platform are not defined by the module. The specific list of defined
24 symbols is available as \code{errno.errorcode.keys()}. Symbols
25 available can include:
27 \begin{datadesc}{EPERM} Operation not permitted \end{datadesc}
28 \begin{datadesc}{ENOENT} No such file or directory \end{datadesc}
29 \begin{datadesc}{ESRCH} No such process \end{datadesc}
30 \begin{datadesc}{EINTR} Interrupted system call \end{datadesc}
31 \begin{datadesc}{EIO} I/O error \end{datadesc}
32 \begin{datadesc}{ENXIO} No such device or address \end{datadesc}
33 \begin{datadesc}{E2BIG} Arg list too long \end{datadesc}
34 \begin{datadesc}{ENOEXEC} Exec format error \end{datadesc}
35 \begin{datadesc}{EBADF} Bad file number \end{datadesc}
36 \begin{datadesc}{ECHILD} No child processes \end{datadesc}
37 \begin{datadesc}{EAGAIN} Try again \end{datadesc}
38 \begin{datadesc}{ENOMEM} Out of memory \end{datadesc}
39 \begin{datadesc}{EACCES} Permission denied \end{datadesc}
40 \begin{datadesc}{EFAULT} Bad address \end{datadesc}
41 \begin{datadesc}{ENOTBLK} Block device required \end{datadesc}
42 \begin{datadesc}{EBUSY} Device or resource busy \end{datadesc}
43 \begin{datadesc}{EEXIST} File exists \end{datadesc}
44 \begin{datadesc}{EXDEV} Cross-device link \end{datadesc}
45 \begin{datadesc}{ENODEV} No such device \end{datadesc}
46 \begin{datadesc}{ENOTDIR} Not a directory \end{datadesc}
47 \begin{datadesc}{EISDIR} Is a directory \end{datadesc}
48 \begin{datadesc}{EINVAL} Invalid argument \end{datadesc}
49 \begin{datadesc}{ENFILE} File table overflow \end{datadesc}
50 \begin{datadesc}{EMFILE} Too many open files \end{datadesc}
51 \begin{datadesc}{ENOTTY} Not a typewriter \end{datadesc}
52 \begin{datadesc}{ETXTBSY} Text file busy \end{datadesc}
53 \begin{datadesc}{EFBIG} File too large \end{datadesc}
54 \begin{datadesc}{ENOSPC} No space left on device \end{datadesc}
55 \begin{datadesc}{ESPIPE} Illegal seek \end{datadesc}
56 \begin{datadesc}{EROFS} Read-only file system \end{datadesc}
57 \begin{datadesc}{EMLINK} Too many links \end{datadesc}
58 \begin{datadesc}{EPIPE} Broken pipe \end{datadesc}
59 \begin{datadesc}{EDOM} Math argument out of domain of func \end{datadesc}
60 \begin{datadesc}{ERANGE} Math result not representable \end{datadesc}
61 \begin{datadesc}{EDEADLK} Resource deadlock would occur \end{datadesc}
62 \begin{datadesc}{ENAMETOOLONG} File name too long \end{datadesc}
63 \begin{datadesc}{ENOLCK} No record locks available \end{datadesc}
64 \begin{datadesc}{ENOSYS} Function not implemented \end{datadesc}
65 \begin{datadesc}{ENOTEMPTY} Directory not empty \end{datadesc}
66 \begin{datadesc}{ELOOP} Too many symbolic links encountered \end{datadesc}
67 \begin{datadesc}{EWOULDBLOCK} Operation would block \end{datadesc}
68 \begin{datadesc}{ENOMSG} No message of desired type \end{datadesc}
69 \begin{datadesc}{EIDRM} Identifier removed \end{datadesc}
70 \begin{datadesc}{ECHRNG} Channel number out of range \end{datadesc}
71 \begin{datadesc}{EL2NSYNC} Level 2 not synchronized \end{datadesc}
72 \begin{datadesc}{EL3HLT} Level 3 halted \end{datadesc}
73 \begin{datadesc}{EL3RST} Level 3 reset \end{datadesc}
74 \begin{datadesc}{ELNRNG} Link number out of range \end{datadesc}
75 \begin{datadesc}{EUNATCH} Protocol driver not attached \end{datadesc}
76 \begin{datadesc}{ENOCSI} No CSI structure available \end{datadesc}
77 \begin{datadesc}{EL2HLT} Level 2 halted \end{datadesc}
78 \begin{datadesc}{EBADE} Invalid exchange \end{datadesc}
79 \begin{datadesc}{EBADR} Invalid request descriptor \end{datadesc}
80 \begin{datadesc}{EXFULL} Exchange full \end{datadesc}
81 \begin{datadesc}{ENOANO} No anode \end{datadesc}
82 \begin{datadesc}{EBADRQC} Invalid request code \end{datadesc}
83 \begin{datadesc}{EBADSLT} Invalid slot \end{datadesc}
84 \begin{datadesc}{EDEADLOCK} File locking deadlock error \end{datadesc}
85 \begin{datadesc}{EBFONT} Bad font file format \end{datadesc}
86 \begin{datadesc}{ENOSTR} Device not a stream \end{datadesc}
87 \begin{datadesc}{ENODATA} No data available \end{datadesc}
88 \begin{datadesc}{ETIME} Timer expired \end{datadesc}
89 \begin{datadesc}{ENOSR} Out of streams resources \end{datadesc}
90 \begin{datadesc}{ENONET} Machine is not on the network \end{datadesc}
91 \begin{datadesc}{ENOPKG} Package not installed \end{datadesc}
92 \begin{datadesc}{EREMOTE} Object is remote \end{datadesc}
93 \begin{datadesc}{ENOLINK} Link has been severed \end{datadesc}
94 \begin{datadesc}{EADV} Advertise error \end{datadesc}
95 \begin{datadesc}{ESRMNT} Srmount error \end{datadesc}
96 \begin{datadesc}{ECOMM} Communication error on send \end{datadesc}
97 \begin{datadesc}{EPROTO} Protocol error \end{datadesc}
98 \begin{datadesc}{EMULTIHOP} Multihop attempted \end{datadesc}
99 \begin{datadesc}{EDOTDOT} RFS specific error \end{datadesc}
100 \begin{datadesc}{EBADMSG} Not a data message \end{datadesc}
101 \begin{datadesc}{EOVERFLOW} Value too large for defined data type \end{datadesc}
102 \begin{datadesc}{ENOTUNIQ} Name not unique on network \end{datadesc}
103 \begin{datadesc}{EBADFD} File descriptor in bad state \end{datadesc}
104 \begin{datadesc}{EREMCHG} Remote address changed \end{datadesc}
105 \begin{datadesc}{ELIBACC} Can not access a needed shared library \end{datadesc}
106 \begin{datadesc}{ELIBBAD} Accessing a corrupted shared library \end{datadesc}
107 \begin{datadesc}{ELIBSCN} .lib section in a.out corrupted \end{datadesc}
108 \begin{datadesc}{ELIBMAX} Attempting to link in too many shared libraries \end{datadesc}
109 \begin{datadesc}{ELIBEXEC} Cannot exec a shared library directly \end{datadesc}
110 \begin{datadesc}{EILSEQ} Illegal byte sequence \end{datadesc}
111 \begin{datadesc}{ERESTART} Interrupted system call should be restarted \end{datadesc}
112 \begin{datadesc}{ESTRPIPE} Streams pipe error \end{datadesc}
113 \begin{datadesc}{EUSERS} Too many users \end{datadesc}
114 \begin{datadesc}{ENOTSOCK} Socket operation on non-socket \end{datadesc}
115 \begin{datadesc}{EDESTADDRREQ} Destination address required \end{datadesc}
116 \begin{datadesc}{EMSGSIZE} Message too long \end{datadesc}
117 \begin{datadesc}{EPROTOTYPE} Protocol wrong type for socket \end{datadesc}
118 \begin{datadesc}{ENOPROTOOPT} Protocol not available \end{datadesc}
119 \begin{datadesc}{EPROTONOSUPPORT} Protocol not supported \end{datadesc}
120 \begin{datadesc}{ESOCKTNOSUPPORT} Socket type not supported \end{datadesc}
121 \begin{datadesc}{EOPNOTSUPP} Operation not supported on transport endpoint \end{datadesc}
122 \begin{datadesc}{EPFNOSUPPORT} Protocol family not supported \end{datadesc}
123 \begin{datadesc}{EAFNOSUPPORT} Address family not supported by protocol \end{datadesc}
124 \begin{datadesc}{EADDRINUSE} Address already in use \end{datadesc}
125 \begin{datadesc}{EADDRNOTAVAIL} Cannot assign requested address \end{datadesc}
126 \begin{datadesc}{ENETDOWN} Network is down \end{datadesc}
127 \begin{datadesc}{ENETUNREACH} Network is unreachable \end{datadesc}
128 \begin{datadesc}{ENETRESET} Network dropped connection because of reset \end{datadesc}
129 \begin{datadesc}{ECONNABORTED} Software caused connection abort \end{datadesc}
130 \begin{datadesc}{ECONNRESET} Connection reset by peer \end{datadesc}
131 \begin{datadesc}{ENOBUFS} No buffer space available \end{datadesc}
132 \begin{datadesc}{EISCONN} Transport endpoint is already connected \end{datadesc}
133 \begin{datadesc}{ENOTCONN} Transport endpoint is not connected \end{datadesc}
134 \begin{datadesc}{ESHUTDOWN} Cannot send after transport endpoint shutdown \end{datadesc}
135 \begin{datadesc}{ETOOMANYREFS} Too many references: cannot splice \end{datadesc}
136 \begin{datadesc}{ETIMEDOUT} Connection timed out \end{datadesc}
137 \begin{datadesc}{ECONNREFUSED} Connection refused \end{datadesc}
138 \begin{datadesc}{EHOSTDOWN} Host is down \end{datadesc}
139 \begin{datadesc}{EHOSTUNREACH} No route to host \end{datadesc}
140 \begin{datadesc}{EALREADY} Operation already in progress \end{datadesc}
141 \begin{datadesc}{EINPROGRESS} Operation now in progress \end{datadesc}
142 \begin{datadesc}{ESTALE} Stale NFS file handle \end{datadesc}
143 \begin{datadesc}{EUCLEAN} Structure needs cleaning \end{datadesc}
144 \begin{datadesc}{ENOTNAM} Not a XENIX named type file \end{datadesc}
145 \begin{datadesc}{ENAVAIL} No XENIX semaphores available \end{datadesc}
146 \begin{datadesc}{EISNAM} Is a named type file \end{datadesc}
147 \begin{datadesc}{EREMOTEIO} Remote I/O error \end{datadesc}
148 \begin{datadesc}{EDQUOT} Quota exceeded \end{datadesc}