Go to the documentation of this file.
23 #ifndef INCLUDED_WERRNO
24 #define INCLUDED_WERRNO
38 #define EPERM 1 // Operation not permitted
39 #define ENOENT 2 // No such file or directory
40 #define ESRCH 3 // No such process
41 #define EINTR 4 // Interrupted system call
42 #define EIO 5 // I/O error
43 #define ENXIO 6 // No such device or address
44 #define E2BIG 7 // Argument list too long
45 #define ENOEXEC 8 // Exec format error
46 #define EBADF 9 // Bad file number
47 #define ECHILD 10 // No child processes
48 #define EAGAIN 11 // Try again
49 #define ENOMEM 12 // Out of memory
50 #define EACCES 13 // Permission denied
51 #define EFAULT 14 // Bad address
52 #define EBUSY 16 // Device or resource busy
53 #define EEXIST 17 // File exists
54 #define ENODEV 19 // No such device
55 #define ENOTDIR 20 // Not a directory
56 #define EISDIR 21 // Is a directory
57 #define EINVAL 22 // Invalid argument
58 #define ENFILE 23 // File table overflow
59 #define EMFILE 24 // Too many open files
60 #define ENOTTY 25 // Not a typewriter
61 #define EFBIG 27 // File too large
62 #define ENOSPC 28 // No space left on device
63 #define ESPIPE 29 // Illegal seek
64 #define EMLINK 31 // Too many links
65 #define EPIPE 32 // Broken pipe
66 #define EDOM 33 // Math argument out of domain of func
67 #define ERANGE 34 // Math result not representable
73 #define EDEADLK 35 // Resource deadlock would occur
74 #define ENAMETOOLONG 36 // File name too long
75 #define ENOLCK 37 // No record locks available
76 #define ENOSYS 38 // Function not implemented
77 #define ENOTEMPTY 39 // Directory not empty
78 #define EILSEQ 84 // Illegal byte sequence
84 #if (!defined(BOOST_VERSION) || BOOST_VERSION <= 103401) && (!MSC_VERSION || MSC_VERSION < 1600)
85 #define EWOULDBLOCK 35
86 #define EINPROGRESS 36
89 #define EDESTADDRREQ 39
92 #define ENOPROTOOPT 42
93 #define EPROTONOSUPPORT 43
95 #define EAFNOSUPPORT 47
97 #define EADDRNOTAVAIL 49
99 #define ENETUNREACH 51
101 #define ECONNABORTED 53
102 #define ECONNRESET 54
107 #define ECONNREFUSED 61
108 #define EHOSTUNREACH 65
116 #define ESOCKTNOSUPPORT 44
117 #define EPFNOSUPPORT 46
119 #define ETOOMANYREFS 59
131 #define ENOMSG 42 // No message of desired type
132 #define EIDRM 43 // Identifier removed
133 #define ENOLINK 67 // Reserved
134 #define EPROTO 71 // Protocol error
135 #define EMULTIHOP 72 // Reserved
136 #define EBADMSG 74 // Not a data message
137 #define EOVERFLOW 75 // Value too large for defined data type
138 #define ECANCELED 125 // Operation Canceled
141 #endif // #ifndef INCLUDED_WERRNO