Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d61ad53

Browse files
committed
errno docs.
1 parent c0fcc44 commit d61ad53

2 files changed

Lines changed: 270 additions & 0 deletions

File tree

Doc/lib/liberrno.tex

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

Doc/liberrno.tex

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

0 commit comments

Comments
 (0)