1 | #include <errno.h> |
---|
2 | |
---|
3 | const char * const sys_errlist[] = { |
---|
4 | "Success", |
---|
5 | "Operation not permitted", |
---|
6 | "No such file or directory", |
---|
7 | "No such process", |
---|
8 | "Interrupted system call", |
---|
9 | "I/O error", |
---|
10 | "No such device or address", |
---|
11 | "Arg list too long", |
---|
12 | "Exec format error", |
---|
13 | "Bad file number", |
---|
14 | "No child processes", |
---|
15 | "Try again", |
---|
16 | "Out of memory", |
---|
17 | "Permission denied", |
---|
18 | "Bad address", |
---|
19 | "Block device required", |
---|
20 | "Device or resource busy", |
---|
21 | "File exists", |
---|
22 | "Cross-device link", |
---|
23 | "No such device", |
---|
24 | "Not a directory", |
---|
25 | "Is a directory", |
---|
26 | "Invalid argument", |
---|
27 | "File table overflow", |
---|
28 | "Too many open files", |
---|
29 | "Not a typewriter", |
---|
30 | "Text file busy", |
---|
31 | "File too large", |
---|
32 | "No space left on device", |
---|
33 | "Illegal seek", |
---|
34 | "Read-only file system", |
---|
35 | "Too many links", |
---|
36 | "Broken pipe", |
---|
37 | "Math argument out of domain of func", |
---|
38 | "Math result not representable", |
---|
39 | "Resource deadlock would occur", |
---|
40 | "File name too long", |
---|
41 | "No record locks available", |
---|
42 | "Function not implemented", |
---|
43 | "Directory not empty", |
---|
44 | "Too many symbolic links encountered", |
---|
45 | "Operation would block", |
---|
46 | "No message of desired type", |
---|
47 | "Identifier removed", |
---|
48 | "Channel number out of range", |
---|
49 | "Level 2 not synchronized", |
---|
50 | "Level 3 halted", |
---|
51 | "Level 3 reset", |
---|
52 | "Link number out of range", |
---|
53 | "Protocol driver not attached", |
---|
54 | "No CSI structure available", |
---|
55 | "Level 2 halted", |
---|
56 | "Invalid exchange", |
---|
57 | "Invalid request descriptor", |
---|
58 | "Exchange full", |
---|
59 | "No anode", |
---|
60 | "Invalid request code", |
---|
61 | "Invalid slot", |
---|
62 | "Resource deadlock would occur", |
---|
63 | "Bad font file format", |
---|
64 | "Device not a stream", |
---|
65 | "No data available", |
---|
66 | "Timer expired", |
---|
67 | "Out of streams resources", |
---|
68 | "Machine is not on the network", |
---|
69 | "Package not installed", |
---|
70 | "Object is remote", |
---|
71 | "Link has been severed", |
---|
72 | "Advertise error", |
---|
73 | "Srmount error", |
---|
74 | "Communication error on send", |
---|
75 | "Protocol error", |
---|
76 | "Multihop attempted", |
---|
77 | "RFS specific error", |
---|
78 | "Not a data message", |
---|
79 | "Value too large for defined data type", |
---|
80 | "Name not unique on network", |
---|
81 | "File descriptor in bad state", |
---|
82 | "Remote address changed", |
---|
83 | "Can not access a needed shared library", |
---|
84 | "Accessing a corrupted shared library", |
---|
85 | ".lib section in a.out corrupted", |
---|
86 | "Attempting to link in too many shared libraries", |
---|
87 | "Cannot exec a shared library directly", |
---|
88 | "Illegal byte sequence", |
---|
89 | "Interrupted system call should be restarted", |
---|
90 | "Streams pipe error", |
---|
91 | "Too many users", |
---|
92 | "Socket operation on non-socket", |
---|
93 | "Destination address required", |
---|
94 | "Message too long", |
---|
95 | "Protocol wrong type for socket", |
---|
96 | "Protocol not available", |
---|
97 | "Protocol not supported", |
---|
98 | "Socket type not supported", |
---|
99 | "Operation not supported on transport endpoint", |
---|
100 | "Operation not supported on transport endpoint", |
---|
101 | "Protocol family not supported", |
---|
102 | "Address family not supported by protocol", |
---|
103 | "Address already in use", |
---|
104 | "Cannot assign requested address", |
---|
105 | "Network is down", |
---|
106 | "Network is unreachable", |
---|
107 | "Network dropped connection because of reset", |
---|
108 | "Software caused connection abort", |
---|
109 | "Connection reset by peer", |
---|
110 | "No buffer space available", |
---|
111 | "Transport endpoint is already connected", |
---|
112 | "Transport endpoint is not connected", |
---|
113 | "Cannot send after transport endpoint shutdown", |
---|
114 | "Too many references: cannot splice", |
---|
115 | "Connection timed out", |
---|
116 | "Connection refused", |
---|
117 | "Host is down", |
---|
118 | "No route to host", |
---|
119 | "Operation already in progress", |
---|
120 | "Operation now in progress", |
---|
121 | "Stale NFS file handle", |
---|
122 | "Structure needs cleaning", |
---|
123 | "Not a XENIX named type file", |
---|
124 | "No XENIX semaphores available", |
---|
125 | "Is a named type file", |
---|
126 | "Remote I/O error", |
---|
127 | "Quota exceeded", |
---|
128 | "Unknown error", |
---|
129 | "Bad block", |
---|
130 | "End of Directory", |
---|
131 | "Asked service is not supported", |
---|
132 | "Required key not available", |
---|
133 | "Key has expired", |
---|
134 | "Key has been revoked", |
---|
135 | "Key was rejected by service", |
---|
136 | "No medium found", |
---|
137 | "Wrong medium type", |
---|
138 | "Operation Canceled"}; |
---|
139 | |
---|