This is work in progress.

C Runtimes / Musl

Musl C Runtime (musl-libc)

ValueMessage
1Operation not permitted
2No such file or directory
3No such process
4Interrupted system call
5I/O error
6No such device or address
7Argument list too long
8Exec format error
9Bad file descriptor
10No child process
11Resource temporarily unavailable
12Out of memory
13Permission denied
14Bad address
15Block device required
16Resource busy
17File exists
18Cross-device link
19No such device
20Not a directory
21Is a directory
22Invalid argument
23Too many open files in system
24No file descriptors available
25Not a tty
26Text file busy
27File too large
28No space left on device
29Invalid seek
30Read-only file system
31Too many links
32Broken pipe
33Domain error
34Result not representable
35Resource deadlock would occur
36Filename too long
37No locks available
38Function not implemented
39Directory not empty
40Symbolic link loop
42No message of desired type
43Identifier removed
60Device not a stream
61No data available
62Device timeout
63Out of streams resources
67Link has been severed
71Protocol error
72Multihop attempted
74Bad message
75Value too large for data type
77File descriptor in bad state
84Illegal byte sequence
88Not a socket
89Destination address required
90Message too large
91Protocol wrong type for socket
92Protocol not available
93Protocol not supported
94Socket type not supported
95Not supported
96Protocol family not supported
97Address family not supported by protocol
98Address in use
99Address not available
100Network is down
101Network unreachable
102Connection reset by network
103Connection aborted
104Connection reset by peer
105No buffer space available
106Socket is connected
107Socket not connected
108Cannot send after socket shutdown
110Operation timed out
111Connection refused
112Host is down
113Host is unreachable
114Operation already in progress
115Operation in progress
116Stale file handle
121Remote I/O error
122Quota exceeded
123No medium found
124Wrong medium type
125Operation canceled
130Previous owner died
131State not recoverable