This is work in progress.

C Runtimes / MSVC

Microsoft Visual C++ Runtime (MSVCRT)

ValueMessage
0No error
1Operation not permitted
2No such file or directory
3No such process
4Interrupted function call
5Input/output error
6No such device or address
7Arg list too long
8Exec format error
9Bad file descriptor
10No child processes
11Resource temporarily unavailable
12Not enough space
13Permission denied
14Bad address
16Resource device
17File exists
18Improper link
19No such device
20Not a directory
21Is a directory
22Invalid argument
23Too many open files in system
24Too many open files
25Inappropriate I/O control operation
27File too large
28No space left on device
29Invalid seek
30Read-only file system
31Too many links
32Broken pipe
33Domain error
34Result too large
36Resource deadlock avoided
38Filename too long
39No locks available
40Function not implemented
41Directory not empty
42Illegal byte sequence
100address in use
101address not available
102address family not supported
103connection already in progress
104bad message
105operation canceled
106connection aborted
107connection refused
108connection reset
109destination address required
110host unreachable
111identifier removed
112operation in progress
113already connected
114too many symbolic link levels
115message size
116network down
117network reset
118network unreachable
119no buffer space
120no message available
121no link
122no message
123no protocol option
124no stream resources
125not a stream
126not connected
127state not recoverable
128not a socket
129not supported
130operation not supported
132value too large
133owner dead
134protocol error
135protocol not supported
136wrong protocol type
137stream timeout
138timed out
139text file busy
140operation would block