about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/errlist.c
blob: 5f40e04209fc060ed3e386e6097750aeb19e9238 (plain) (blame)
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
/* This file is generated from errno.texi by errlist.awk.  */

#ifndef HAVE_GNU_LD
#define _sys_nerr sys_nerr
#define _sys_errlist sys_errlist
#endif

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

#include <errno.h>
#if _HURD_ERRNOS != 106
#error errlist/errnos generation bug
#endif
const int _sys_nerr = 106;
weak_alias (_sys_errlist, sys_errlist)
weak_alias (_sys_nerr, sys_nerr)