1 /* This file is generated from errno.texi by errlist.awk. */
4 #define _sys_nerr sys_nerr
5 #define _sys_errlist sys_errlist
8 const char *_sys_errlist
[] =
11 "Operation not permitted", /* 1 = EPERM */
12 "No such file or directory", /* 2 = ENOENT */
13 "No such process", /* 3 = ESRCH */
14 "Interrupted system call", /* 4 = EINTR */
15 "Input/output error", /* 5 = EIO */
16 "Device not configured", /* 6 = ENXIO */
17 "Argument list too long", /* 7 = E2BIG */
18 "Exec format error", /* 8 = ENOEXEC */
19 "Bad file descriptor", /* 9 = EBADF */
20 "No child processes", /* 10 = ECHILD */
21 "Resource deadlock avoided", /* 11 = EDEADLK */
22 "Cannot allocate memory", /* 12 = ENOMEM */
23 "Permission denied", /* 13 = EACCES */
24 "Bad address", /* 14 = EFAULT */
25 "Block device required", /* 15 = ENOTBLK */
26 "Device busy", /* 16 = EBUSY */
27 "File exists", /* 17 = EEXIST */
28 "Invalid cross-device link", /* 18 = EXDEV */
29 "Operation not supported by device",/* 19 = ENODEV */
30 "Not a directory", /* 20 = ENOTDIR */
31 "Is a directory", /* 21 = EISDIR */
32 "Invalid argument", /* 22 = EINVAL */
33 "Too many open files in system", /* 23 = ENFILE */
34 "Too many open files", /* 24 = EMFILE */
35 "Inappropriate ioctl for device", /* 25 = ENOTTY */
36 "Text file busy", /* 26 = ETXTBSY */
37 "File too large", /* 27 = EFBIG */
38 "No space left on device", /* 28 = ENOSPC */
39 "Illegal seek", /* 29 = ESPIPE */
40 "Read-only file system", /* 30 = EROFS */
41 "Too many links", /* 31 = EMLINK */
42 "Broken pipe", /* 32 = EPIPE */
43 "Numerical argument out of domain", /* 33 = EDOM */
44 "Numerical result out of range", /* 34 = ERANGE */
45 "Resource temporarily unavailable", /* 35 = EAGAIN */
46 "Operation now in progress", /* 36 = EINPROGRESS */
47 "Operation already in progress", /* 37 = EALREADY */
48 "Socket operation on non-socket", /* 38 = ENOTSOCK */
49 "Destination address required", /* 39 = EDESTADDRREQ */
50 "Message too long", /* 40 = EMSGSIZE */
51 "Protocol wrong type for socket", /* 41 = EPROTOTYPE */
52 "Protocol not available", /* 42 = ENOPROTOOPT */
53 "Protocol not supported", /* 43 = EPROTONOSUPPORT */
54 "Socket type not supported", /* 44 = ESOCKTNOSUPPORT */
55 "Operation not supported", /* 45 = EOPNOTSUPP */
56 "Protocol family not supported", /* 46 = EPFNOSUPPORT */
57 "Address family not supported by protocol family",/* 47 = EAFNOSUPPORT */
58 "Address already in use", /* 48 = EADDRINUSE */
59 "Can't assign requested address", /* 49 = EADDRNOTAVAIL */
60 "Network is down", /* 50 = ENETDOWN */
61 "Network is unreachable", /* 51 = ENETUNREACH */
62 "Network dropped connection on reset",/* 52 = ENETRESET */
63 "Software caused connection abort", /* 53 = ECONNABORTED */
64 "Connection reset by peer", /* 54 = ECONNRESET */
65 "No buffer space available", /* 55 = ENOBUFS */
66 "Socket is already connected", /* 56 = EISCONN */
67 "Socket is not connected", /* 57 = ENOTCONN */
68 "Can't send after socket shutdown", /* 58 = ESHUTDOWN */
69 "Too many references: can't splice",/* 59 = ETOOMANYREFS */
70 "Connection timed out", /* 60 = ETIMEDOUT */
71 "Connection refused", /* 61 = ECONNREFUSED */
72 "Too many levels of symbolic links",/* 62 = ELOOP */
73 "File name too long", /* 63 = ENAMETOOLONG */
74 "Host is down", /* 64 = EHOSTDOWN */
75 "No route to host", /* 65 = EHOSTUNREACH */
76 "Directory not empty", /* 66 = ENOTEMPTY */
77 "Too many processes", /* 67 = EPROCLIM */
78 "Too many users", /* 68 = EUSERS */
79 "Disc quota exceeded", /* 69 = EDQUOT */
80 "Stale NFS file handle", /* 70 = ESTALE */
81 "Too many levels of remote in path",/* 71 = EREMOTE */
82 "RPC struct is bad", /* 72 = EBADRPC */
83 "RPC version wrong", /* 73 = ERPCMISMATCH */
84 "RPC program not available", /* 74 = EPROGUNAVAIL */
85 "RPC program version wrong", /* 75 = EPROGMISMATCH */
86 "RPC bad procedure for program", /* 76 = EPROCUNAVAIL */
87 "No locks available", /* 77 = ENOLCK */
88 "Function not implemented", /* 78 = ENOSYS */
89 "Inappropriate file type or format",/* 79 = EFTYPE */
90 "Authentication error", /* 80 = EAUTH */
91 "Need authenticator", /* 81 = ENEEDAUTH */
110 "Inappropriate operation for background process",/* 100 = EBACKGROUND */
111 "Translator died", /* 101 = EDIED */
113 "You really blew it this time", /* 103 = EGREGIOUS */
114 "Computer bought the farm", /* 104 = EIEIO */
115 "Gratuitous error", /* 105 = EGRATUITOUS */
119 #if _HURD_ERRNOS != 106
120 #error errlist/errnos generation bug
122 const int _sys_nerr
= 106;
123 weak_alias (_sys_errlist
, sys_errlist
)
124 weak_alias (_sys_nerr
, sys_nerr
)