rawsys_linux/errno/
generated.rs

1// This file is automatically generated. Do not edit!
2
3errno_enum! {
4    pub enum Errno {
5        EPERM(1) = "Operation not permitted",
6        ENOENT(2) = "No such file or directory",
7        ESRCH(3) = "No such process",
8        EINTR(4) = "Interrupted system call",
9        EIO(5) = "I/O error",
10        ENXIO(6) = "No such device or address",
11        E2BIG(7) = "Argument list too long",
12        ENOEXEC(8) = "Exec format error",
13        EBADF(9) = "Bad file number",
14        ECHILD(10) = "No child processes",
15        EAGAIN(11) = "Try again",
16        ENOMEM(12) = "Out of memory",
17        EACCES(13) = "Permission denied",
18        EFAULT(14) = "Bad address",
19        ENOTBLK(15) = "Block device required",
20        EBUSY(16) = "Device or resource busy",
21        EEXIST(17) = "File exists",
22        EXDEV(18) = "Cross-device link",
23        ENODEV(19) = "No such device",
24        ENOTDIR(20) = "Not a directory",
25        EISDIR(21) = "Is a directory",
26        EINVAL(22) = "Invalid argument",
27        ENFILE(23) = "File table overflow",
28        EMFILE(24) = "Too many open files",
29        ENOTTY(25) = "Not a typewriter",
30        ETXTBSY(26) = "Text file busy",
31        EFBIG(27) = "File too large",
32        ENOSPC(28) = "No space left on device",
33        ESPIPE(29) = "Illegal seek",
34        EROFS(30) = "Read-only file system",
35        EMLINK(31) = "Too many links",
36        EPIPE(32) = "Broken pipe",
37        EDOM(33) = "Math argument out of domain of func",
38        ERANGE(34) = "Math result not representable",
39        EDEADLK(35) = "Resource deadlock would occur",
40        ENAMETOOLONG(36) = "File name too long",
41        ENOLCK(37) = "No record locks available",
42        ENOSYS(38) = "Invalid system call number",
43        ENOTEMPTY(39) = "Directory not empty",
44        ELOOP(40) = "Too many symbolic links encountered",
45        ENOMSG(42) = "No message of desired type",
46        EIDRM(43) = "Identifier removed",
47        ECHRNG(44) = "Channel number out of range",
48        EL2NSYNC(45) = "Level 2 not synchronized",
49        EL3HLT(46) = "Level 3 halted",
50        EL3RST(47) = "Level 3 reset",
51        ELNRNG(48) = "Link number out of range",
52        EUNATCH(49) = "Protocol driver not attached",
53        ENOCSI(50) = "No CSI structure available",
54        EL2HLT(51) = "Level 2 halted",
55        EBADE(52) = "Invalid exchange",
56        EBADR(53) = "Invalid request descriptor",
57        EXFULL(54) = "Exchange full",
58        ENOANO(55) = "No anode",
59        EBADRQC(56) = "Invalid request code",
60        EBADSLT(57) = "Invalid slot",
61        EBFONT(59) = "Bad font file format",
62        ENOSTR(60) = "Device not a stream",
63        ENODATA(61) = "No data available",
64        ETIME(62) = "Timer expired",
65        ENOSR(63) = "Out of streams resources",
66        ENONET(64) = "Machine is not on the network",
67        ENOPKG(65) = "Package not installed",
68        EREMOTE(66) = "Object is remote",
69        ENOLINK(67) = "Link has been severed",
70        EADV(68) = "Advertise error",
71        ESRMNT(69) = "Srmount error",
72        ECOMM(70) = "Communication error on send",
73        EPROTO(71) = "Protocol error",
74        EMULTIHOP(72) = "Multihop attempted",
75        EDOTDOT(73) = "RFS specific error",
76        EBADMSG(74) = "Not a data message",
77        EOVERFLOW(75) = "Value too large for defined data type",
78        ENOTUNIQ(76) = "Name not unique on network",
79        EBADFD(77) = "File descriptor in bad state",
80        EREMCHG(78) = "Remote address changed",
81        ELIBACC(79) = "Can not access a needed shared library",
82        ELIBBAD(80) = "Accessing a corrupted shared library",
83        ELIBSCN(81) = ".lib section in a.out corrupted",
84        ELIBMAX(82) = "Attempting to link in too many shared libraries",
85        ELIBEXEC(83) = "Cannot exec a shared library directly",
86        EILSEQ(84) = "Illegal byte sequence",
87        ERESTART(85) = "Interrupted system call should be restarted",
88        ESTRPIPE(86) = "Streams pipe error",
89        EUSERS(87) = "Too many users",
90        ENOTSOCK(88) = "Socket operation on non-socket",
91        EDESTADDRREQ(89) = "Destination address required",
92        EMSGSIZE(90) = "Message too long",
93        EPROTOTYPE(91) = "Protocol wrong type for socket",
94        ENOPROTOOPT(92) = "Protocol not available",
95        EPROTONOSUPPORT(93) = "Protocol not supported",
96        ESOCKTNOSUPPORT(94) = "Socket type not supported",
97        EOPNOTSUPP(95) = "Operation not supported on transport endpoint",
98        EPFNOSUPPORT(96) = "Protocol family not supported",
99        EAFNOSUPPORT(97) = "Address family not supported by protocol",
100        EADDRINUSE(98) = "Address already in use",
101        EADDRNOTAVAIL(99) = "Cannot assign requested address",
102        ENETDOWN(100) = "Network is down",
103        ENETUNREACH(101) = "Network is unreachable",
104        ENETRESET(102) = "Network dropped connection because of reset",
105        ECONNABORTED(103) = "Software caused connection abort",
106        ECONNRESET(104) = "Connection reset by peer",
107        ENOBUFS(105) = "No buffer space available",
108        EISCONN(106) = "Transport endpoint is already connected",
109        ENOTCONN(107) = "Transport endpoint is not connected",
110        ESHUTDOWN(108) = "Cannot send after transport endpoint shutdown",
111        ETOOMANYREFS(109) = "Too many references: cannot splice",
112        ETIMEDOUT(110) = "Connection timed out",
113        ECONNREFUSED(111) = "Connection refused",
114        EHOSTDOWN(112) = "Host is down",
115        EHOSTUNREACH(113) = "No route to host",
116        EALREADY(114) = "Operation already in progress",
117        EINPROGRESS(115) = "Operation now in progress",
118        ESTALE(116) = "Stale file handle",
119        EUCLEAN(117) = "Structure needs cleaning",
120        ENOTNAM(118) = "Not a XENIX named type file",
121        ENAVAIL(119) = "No XENIX semaphores available",
122        EISNAM(120) = "Is a named type file",
123        EREMOTEIO(121) = "Remote I/O error",
124        EDQUOT(122) = "Quota exceeded",
125        ENOMEDIUM(123) = "No medium found",
126        EMEDIUMTYPE(124) = "Wrong medium type",
127        ECANCELED(125) = "Operation Canceled",
128        ENOKEY(126) = "Required key not available",
129        EKEYEXPIRED(127) = "Key has expired",
130        EKEYREVOKED(128) = "Key has been revoked",
131        EKEYREJECTED(129) = "Key was rejected by service",
132        EOWNERDEAD(130) = "Owner died",
133        ENOTRECOVERABLE(131) = "State not recoverable",
134        ERFKILL(132) = "Operation not possible due to RF-kill",
135        EHWPOISON(133) = "Memory page has hardware error",
136        ERESTARTSYS(512) = "Restart syscall",
137        ERESTARTNOINTR(513) = "Restart if no interrupt",
138        ERESTARTNOHAND(514) = "restart if no handler..",
139        ENOIOCTLCMD(515) = "No ioctl command",
140        ERESTART_RESTARTBLOCK(516) = "restart by calling sys_restart_syscall",
141        EPROBE_DEFER(517) = "Driver requests probe retry",
142        EOPENSTALE(518) = "open found a stale dentry",
143        ENOPARAM(519) = "Parameter not supported",
144        EBADHANDLE(521) = "Illegal NFS file handle",
145        ENOTSYNC(522) = "Update synchronization mismatch",
146        EBADCOOKIE(523) = "Cookie is stale",
147        ENOTSUPP(524) = "Operation is not supported",
148        ETOOSMALL(525) = "Buffer or request is too small",
149        ESERVERFAULT(526) = "An untranslatable error occurred",
150        EBADTYPE(527) = "Type not supported by server",
151        EJUKEBOX(528) = "Request initiated, but will not complete before timeout",
152        EIOCBQUEUED(529) = "iocb queued, will get completion event",
153        ERECALLCONFLICT(530) = "conflict with recalled state",
154        ENOGRACE(531) = "NFS file lock reclaim refused",
155    }
156}