clean up bcm bases and add primecell peripheral defines
[AROS.git] / compiler / clib / _errstrings.c
blob7647145ad7a63fe60e6b4497c930656542d01ad8
1 #include <stddef.h>
2 #include <errno.h>
4 const char * _errstrings[ELAST + 2] =
6 /* 0 */ "No error",
7 /* EPERM */ "Operation not permitted",
8 /* ENOENT */ "No such file or directory",
9 /* ESRCH */ "No such process",
10 /* EINTR */ "Interrupted system call",
11 /* EIO */ "I/O error",
12 /* ENXIO */ "No such device or address",
13 /* E2BIG */ "Arg list too long",
14 /* ENOEXEC */ "Exec format error",
15 /* EBADF */ "Bad file number",
16 /* ECHILD */ "No child processes",
17 /* EDEADLK */ "Resource deadlock would occur",
18 /* ENOMEM */ "Out of memory",
19 /* EACCES */ "Permission denied",
20 /* EFAULT */ "Bad address",
21 /* NA */ NULL,
22 /* EBUSY */ "Device or resource busy",
23 /* EEXIST */ "File exists",
24 /* EXDEV */ "Cross-device link",
25 /* ENODEV */ "No such device",
26 /* ENOTDIR */ "Not a directory",
27 /* EISDIR */ "Is a directory",
28 /* EINVAL */ "Invalid argument",
29 /* ENFILE */ "File table overflow",
30 /* EMFILE */ "Too many open files",
31 /* ENOTTY */ "Not a typewriter",
32 /* ETXTBSY */ "Text file busy",
33 /* EFBIG */ "File too large",
34 /* ENOSPC */ "No space left on device",
35 /* ESPIPE */ "Illegal seek",
36 /* EROFS */ "Read-only file system",
37 /* EMLINK */ "Too many links",
38 /* EPIPE */ "Broken pipe",
39 /* NA */ NULL,
40 /* ERANGE */ "Math result not representable",
41 /* EAGAIN */ "Try again",
42 /* EINPROGRESS */ "Operation now in progress",
43 /* EALREADY */ "Operation already in progress",
44 /* ENOTSOCK */ "Socket operation on non-socket",
45 /* EDESTADDRREQ */ "Destination address required",
46 /* EMSGSIZE */ "Message too long",
47 /* EPROTOTYPE */ "Protocol wrong type for socket",
48 /* ENOPROTOOPT */ "Protocol not available",
49 /* EPROTONOSUPPORT */ "Protocol not supported",
50 /* ESOCKTNOSUPPORT */ "Socket type not supported",
51 /* EOPNOTSUPP */ "Operation not supported on transport endpoint",
52 /* EPFNOSUPPORT */ "Protocol family not supported",
53 /* EAFNOSUPPORT */ "Address family not supported by protocol",
54 /* EADDRINUSE */ "Address already in use",
55 /* EADDRNOTAVAIL */ "Cannot assign requested address",
56 /* ENETDOWN */ "Network is down",
57 /* ENETUNREACH */ "Network is unreachable",
58 /* ENETRESET */ "Network dropped connection because of reset",
59 /* ECONNABORTED */ "Software caused connection abort",
60 /* ECONNRESET */ "Connection reset by peer",
61 /* ENOBUFS */ "No buffer space available",
62 /* EISCONN */ "Transport endpoint is already connected",
63 /* ENOTCONN */ "Transport endpoint is not connected",
64 /* ESHUTDOWN */ "Cannot send after transport endpoint shutdown",
65 /* NA */ NULL,
66 /* ETIMEDOUT */ "Connection timed out",
67 /* ECONNREFUSED */ "Connection refused",
68 /* ELOOP */ "Too many symbolic links encountered",
69 /* ENAMETOOLONG */ "File name too long",
70 /* EHOSTDOWN */ "Host is down",
71 /* EHOSTUNREACH */ "No route to host",
72 /* ENOTEMPTY */ "Directory not empty",
73 /* NA */ NULL,
74 /* NA */ NULL,
75 /* EDQUOT */ "Quota exceeded",
76 /* ESTALE */ "Stale NFS file handle",
77 /* NA */ NULL,
78 /* NA */ NULL,
79 /* NA */ NULL,
80 /* NA */ NULL,
81 /* NA */ NULL,
82 /* NA */ NULL,
83 /* ENOLCK */ "No record locks available",
84 /* ENOSYS */ "Function not implemented",
85 /* NA */ NULL,
86 /* NA */ NULL,
87 /* NA */ NULL,
88 /* EIDRM */ "Identifier removed",
89 /* ENOMSG */ "No message of desired type",
90 /* EOVERFLOW */ "Value too large for defined data type",
91 /* EILSEQ */ "Illegal byte sequence",
92 /* ENOTSUP */ "Not supported",
93 /* ECANCELED */ "Operation canceled",
94 /* EBADMSG */ "Bad or Corrupt message",
95 /* ENODATA */ "No message available",
96 /* ENOSR */ "No STREAM resources",
97 /* ENOSTR */ "Not a STREAM",
98 /* ETIME */ "STREAM ioctl timeout",
99 /* NA */ NULL,
100 /* EMULTIHOP */ "Multihop attempted",
101 /* ENOLINK */ "Link has been severed",
102 /* EPROTO */ "Protocol error",
103 /* Too high */ NULL