-
Notifications
You must be signed in to change notification settings - Fork 0
/
errno.kai
137 lines (115 loc) · 5.49 KB
/
errno.kai
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
EPERM :: 1 /* Operation not permitted */
ENOENT :: 2 /* No such file or directory */
ESRCH :: 3 /* No such process */
EINTR :: 4 /* Interrupted system call */
EIO :: 5 /* Input/output error */
ENXIO :: 6 /* Device not configured */
E2BIG :: 7 /* Argument list too long */
ENOEXEC :: 8 /* Exec format error */
EBADF :: 9 /* Bad file descriptor */
ECHILD :: 10 /* No child processes */
EDEADLK :: 11 /* Resource deadlock avoided */
ENOMEM :: 12 /* Cannot allocate memory */
EACCES :: 13 /* Permission denied */
EFAULT :: 14 /* Bad address */
ENOTBLK :: 15 /* Block device required */
EBUSY :: 16 /* Device / Resource busy */
EEXIST :: 17 /* File exists */
EXDEV :: 18 /* Cross-device link */
ENODEV :: 19 /* Operation not supported by device */
ENOTDIR :: 20 /* Not a directory */
EISDIR :: 21 /* Is a directory */
EINVAL :: 22 /* Invalid argument */
ENFILE :: 23 /* Too many open files in system */
EMFILE :: 24 /* Too many open files */
ENOTTY :: 25 /* Inappropriate ioctl for device */
ETXTBSY :: 26 /* Text file busy */
EFBIG :: 27 /* File too large */
ENOSPC :: 28 /* No space left on device */
ESPIPE :: 29 /* Illegal seek */
EROFS :: 30 /* Read-only file system */
EMLINK :: 31 /* Too many links */
EPIPE :: 32 /* Broken pipe */
/* math software */
EDOM :: 33 /* Numerical argument out of domain */
ERANGE :: 34 /* Result too large */
/* non-blocking and interrupt i/o */
EAGAIN :: 35 /* Resource temporarily unavailable */
//EWOULDBLOCK :: EAGAIN /* Operation would block */
EINPROGRESS :: 36 /* Operation now in progress */
EALREADY :: 37 /* Operation already in progress */
/* ipc/network software -- argument errors */
ENOTSOCK :: 38 /* Socket operation on non-socket */
EDESTADDRREQ :: 39 /* Destination address required */
EMSGSIZE :: 40 /* Message too long */
EPROTOTYPE :: 41 /* Protocol wrong type for socket */
ENOPROTOOPT :: 42 /* Protocol not available */
EPROTONOSUPPORT :: 43 /* Protocol not supported */
ESOCKTNOSUPPORT :: 44 /* Socket type not supported */
ENOTSUP :: 45 /* Operation not supported */
EPFNOSUPPORT :: 46 /* Protocol family not supported */
EAFNOSUPPORT :: 47 /* Address family not supported by protocol family */
EADDRINUSE :: 48 /* Address already in use */
EADDRNOTAVAIL :: 49 /* Can't assign requested address */
/* ipc/network software -- operational errors */
ENETDOWN :: 50 /* Network is down */
ENETUNREACH :: 51 /* Network is unreachable */
ENETRESET :: 52 /* Network dropped connection on reset */
ECONNABORTED :: 53 /* Software caused connection abort */
ECONNRESET :: 54 /* Connection reset by peer */
ENOBUFS :: 55 /* No buffer space available */
EISCONN :: 56 /* Socket is already connected */
ENOTCONN :: 57 /* Socket is not connected */
ESHUTDOWN :: 58 /* Can't send after socket shutdown */
ETOOMANYREFS :: 59 /* Too many references: can't splice */
ETIMEDOUT :: 60 /* Operation timed out */
ECONNREFUSED :: 61 /* Connection refused */
ELOOP :: 62 /* Too many levels of symbolic links */
ENAMETOOLONG :: 63 /* File name too long */
EHOSTDOWN :: 64 /* Host is down */
EHOSTUNREACH :: 65 /* No route to host */
ENOTEMPTY :: 66 /* Directory not empty */
/* quotas & mush */
EPROCLIM :: 67 /* Too many processes */
EUSERS :: 68 /* Too many users */
EDQUOT :: 69 /* Disc quota exceeded */
/* Network File System */
ESTALE :: 70 /* Stale NFS file handle */
EREMOTE :: 71 /* Too many levels of remote in path */
EBADRPC :: 72 /* RPC struct is bad */
ERPCMISMATCH :: 73 /* RPC version wrong */
EPROGUNAVAIL :: 74 /* RPC prog. not avail */
EPROGMISMATCH :: 75 /* Program version wrong */
EPROCUNAVAIL :: 76 /* Bad procedure for program */
ENOLCK :: 77 /* No locks available */
ENOSYS :: 78 /* Function not implemented */
EFTYPE :: 79 /* Inappropriate file type or format */
EAUTH :: 80 /* Authentication error */
ENEEDAUTH :: 81 /* Need authenticator */
/* Intelligent device errors */
EPWROFF :: 82 /* Device power is off */
EDEVERR :: 83 /* Device error, e.g. paper out */
EOVERFLOW :: 84 /* Value too large to be stored in data type */
/* Program loading errors */
EBADEXEC :: 85 /* Bad executable */
EBADARCH :: 86 /* Bad CPU type in executable */
ESHLIBVERS :: 87 /* Shared library version mismatch */
EBADMACHO :: 88 /* Malformed Macho file */
ECANCELED :: 89 /* Operation canceled */
EIDRM :: 90 /* Identifier removed */
ENOMSG :: 91 /* No message of desired type */
EILSEQ :: 92 /* Illegal byte sequence */
ENOATTR :: 93 /* Attribute not found */
EBADMSG :: 94 /* Bad message */
EMULTIHOP :: 95 /* Reserved */
ENODATA :: 96 /* No message available on STREAM */
ENOLINK :: 97 /* Reserved */
ENOSR :: 98 /* No STREAM resources */
ENOSTR :: 99 /* Not a STREAM */
EPROTO :: 100 /* Protocol error */
ETIME :: 101 /* STREAM ioctl timeout */
ENOPOLICY :: 103 /* No such policy registered */
ENOTRECOVERABLE :: 104 /* State not recoverable */
EOWNERDEAD :: 105 /* Previous owner died */
EQFULL :: 106 /* Interface output queue is full */
ELAST :: 106 /* Must be equal largest errno */