1 /* This file is generated from errno.texi by errlist.awk. */
5 const char *_sys_errlist[] =
9 [EPERM] = N_("Operation not permitted"),
12 [ENOENT] = N_("No such file or directory"),
15 [ESRCH] = N_("No such process"),
18 [EINTR] = N_("Interrupted system call"),
21 [EIO] = N_("Input/output error"),
24 [ENXIO] = N_("Device not configured"),
27 [E2BIG] = N_("Argument list too long"),
30 [ENOEXEC] = N_("Exec format error"),
33 [EBADF] = N_("Bad file descriptor"),
36 [ECHILD] = N_("No child processes"),
39 [EDEADLK] = N_("Resource deadlock avoided"),
42 [ENOMEM] = N_("Cannot allocate memory"),
45 [EACCES] = N_("Permission denied"),
48 [EFAULT] = N_("Bad address"),
51 [ENOTBLK] = N_("Block device required"),
54 [EBUSY] = N_("Device or resource busy"),
57 [EEXIST] = N_("File exists"),
60 [EXDEV] = N_("Invalid cross-device link"),
63 [ENODEV] = N_("Operation not supported by device"),
66 [ENOTDIR] = N_("Not a directory"),
69 [EISDIR] = N_("Is a directory"),
72 [EINVAL] = N_("Invalid argument"),
75 [EMFILE] = N_("Too many open files"),
78 [ENFILE] = N_("Too many open files in system"),
81 [ENOTTY] = N_("Inappropriate ioctl for device"),
84 [ETXTBSY] = N_("Text file busy"),
87 [EFBIG] = N_("File too large"),
90 [ENOSPC] = N_("No space left on device"),
93 [ESPIPE] = N_("Illegal seek"),
96 [EROFS] = N_("Read-only file system"),
99 [EMLINK] = N_("Too many links"),
102 [EPIPE] = N_("Broken pipe"),
105 [EDOM] = N_("Numerical argument out of domain"),
108 [ERANGE] = N_("Numerical result out of range"),
111 [EAGAIN] = N_("Resource temporarily unavailable"),
113 #if defined (EWOULDBLOCK) && EWOULDBLOCK != EAGAIN
114 [EWOULDBLOCK] = N_("Operation would block"),
117 [EINPROGRESS] = N_("Operation now in progress"),
120 [EALREADY] = N_("Operation already in progress"),
123 [ENOTSOCK] = N_("Socket operation on non-socket"),
126 [EMSGSIZE] = N_("Message too long"),
129 [EPROTOTYPE] = N_("Protocol wrong type for socket"),
132 [ENOPROTOOPT] = N_("Protocol not available"),
134 #ifdef EPROTONOSUPPORT
135 [EPROTONOSUPPORT] = N_("Protocol not supported"),
137 #ifdef ESOCKTNOSUPPORT
138 [ESOCKTNOSUPPORT] = N_("Socket type not supported"),
141 [EOPNOTSUPP] = N_("Operation not supported"),
144 [EPFNOSUPPORT] = N_("Protocol family not supported"),
147 [EAFNOSUPPORT] = N_("Address family not supported by protocol"),
150 [EADDRINUSE] = N_("Address already in use"),
153 [EADDRNOTAVAIL] = N_("Cannot assign requested address"),
156 [ENETDOWN] = N_("Network is down"),
159 [ENETUNREACH] = N_("Network is unreachable"),
162 [ENETRESET] = N_("Network dropped connection on reset"),
165 [ECONNABORTED] = N_("Software caused connection abort"),
168 [ECONNRESET] = N_("Connection reset by peer"),
171 [ENOBUFS] = N_("No buffer space available"),
174 [EISCONN] = N_("Transport endpoint is already connected"),
177 [ENOTCONN] = N_("Transport endpoint is not connected"),
180 [EDESTADDRREQ] = N_("Destination address required"),
183 [ESHUTDOWN] = N_("Cannot send after transport endpoint shutdown"),
186 [ETOOMANYREFS] = N_("Too many references: cannot splice"),
189 [ETIMEDOUT] = N_("Connection timed out"),
192 [ECONNREFUSED] = N_("Connection refused"),
195 [ELOOP] = N_("Too many levels of symbolic links"),
198 [ENAMETOOLONG] = N_("File name too long"),
201 [EHOSTDOWN] = N_("Host is down"),
204 [EHOSTUNREACH] = N_("No route to host"),
207 [ENOTEMPTY] = N_("Directory not empty"),
210 [EPROCLIM] = N_("Too many processes"),
213 [EUSERS] = N_("Too many users"),
216 [EDQUOT] = N_("Disc quota exceeded"),
219 [ESTALE] = N_("Stale NFS file handle"),
222 [EREMOTE] = N_("Object is remote"),
225 [EBADRPC] = N_("RPC struct is bad"),
228 [ERPCMISMATCH] = N_("RPC version wrong"),
231 [EPROGUNAVAIL] = N_("RPC program not available"),
234 [EPROGMISMATCH] = N_("RPC program version wrong"),
237 [EPROCUNAVAIL] = N_("RPC bad procedure for program"),
240 [ENOLCK] = N_("No locks available"),
243 [EFTYPE] = N_("Inappropriate file type or format"),
246 [EAUTH] = N_("Authentication error"),
249 [ENEEDAUTH] = N_("Need authenticator"),
252 [ENOSYS] = N_("Function not implemented"),
255 [EILSEQ] = N_("Invalid or incomplete multibyte or wide character"),
258 [EBACKGROUND] = N_("Inappropriate operation for background process"),
261 [EDIED] = N_("Translator died"),
267 [EGREGIOUS] = N_("You really blew it this time"),
270 [EIEIO] = N_("Computer bought the farm"),
273 [EGRATUITOUS] = N_("Gratuitous error"),
276 [ERESTART] = N_("Interrupted system call should be restarted"),
279 [ENOMSG] = N_("No message of desired type"),
282 [EIDRM] = N_("Identifier removed"),
285 [ECHRNG] = N_("Channel number out of range"),
288 [EL2NSYNC] = N_("Level 2 not synchronized"),
291 [EL3HLT] = N_("Level 3 halted"),
294 [EL3RST] = N_("Level 3 reset"),
297 [ELNRNG] = N_("Link number out of range"),
300 [EUNATCH] = N_("Protocol driver not attached"),
303 [ENOCSI] = N_("No CSI structure available"),
306 [EL2HLT] = N_("Level 2 halted"),
309 [EBADE] = N_("Invalid exchange"),
312 [EBADR] = N_("Invalid request descriptor"),
315 [EXFULL] = N_("Exchange full"),
318 [ENOANO] = N_("No anode"),
321 [EBADRQC] = N_("Invalid request code"),
324 [EBADSLT] = N_("Invalid slot"),
327 [EDEADLOCK] = N_("File locking deadlock error"),
330 [EBFONT] = N_("Bad font file format"),
333 [ENOSTR] = N_("Device not a stream"),
336 [ENODATA] = N_("No data available"),
339 [ETIME] = N_("Timer expired"),
342 [ENOSR] = N_("Out of streams resources"),
345 [ENONET] = N_("Machine is not on the network"),
348 [ENOPKG] = N_("Package not installed"),
351 [ENOLINK] = N_("Link has been severed"),
354 [EADV] = N_("Advertise error"),
357 [ESRMNT] = N_("Srmount error"),
360 [ECOMM] = N_("Communication error on send"),
363 [EPROTO] = N_("Protocol error"),
366 [EMULTIHOP] = N_("Multihop attempted"),
369 [EDOTDOT] = N_("RFS specific error"),
372 [EBADMSG] = N_("Not a data message"),
375 [EOVERFLOW] = N_("Value too large for defined data type"),
378 [ENOTUNIQ] = N_("Name not unique on network"),
381 [EBADFD] = N_("File descriptor in bad state"),
384 [EREMCHG] = N_("Remote address changed"),
387 [ELIBACC] = N_("Can not access a needed shared library"),
390 [ELIBBAD] = N_("Accessing a corrupted shared library"),
393 [ELIBSCN] = N_(".lib section in a.out corrupted"),
396 [ELIBMAX] = N_("Attempting to link in too many shared libraries"),
399 [ELIBEXEC] = N_("Cannot exec a shared library directly"),
402 [ESTRPIPE] = N_("Streams pipe error"),
405 [EUCLEAN] = N_("Structure needs cleaning"),
408 [ENOTNAM] = N_("Not a XENIX named type file"),
411 [ENAVAIL] = N_("No XENIX semaphores available"),
414 [EISNAM] = N_("Is a named type file"),
417 [EREMOTEIO] = N_("Remote I/O error"),
421 const int _sys_nerr = sizeof _sys_errlist / sizeof _sys_errlist[0];
422 weak_alias (_sys_errlist, sys_errlist)
423 weak_alias (_sys_nerr, sys_nerr)