Commit | Line | Data |
---|---|---|
1b926d66 BJ |
1 | /* Copyright (c) 1979 Regents of the University of California */ |
2 | char *sys_errlist[] { | |
3 | "Error 0", | |
4 | "Not super-user", | |
5 | "No such file or directory", | |
6 | "No such process", | |
7 | "Interrupted system call", | |
8 | "I/O error", | |
9 | "No such device or address", | |
10 | "Arguments too long", | |
11 | "Exec format error", | |
12 | "Bad file number", | |
13 | "No children", | |
14 | "No more processes", | |
15 | "Not enough core", | |
16 | "Permission denied", | |
17 | "Error 14", | |
18 | "Block device required", | |
19 | "Mount device busy", | |
20 | "File exists", | |
21 | "Cross-device link", | |
22 | "No such device", | |
23 | "Not a directory", | |
24 | "Is a directory", | |
25 | "Invalid argument", | |
26 | "File table overflow", | |
27 | "Too many open files", | |
28 | "Not a typewriter", | |
29 | "Text file busy", | |
30 | "File too large", | |
31 | "No space left on device", | |
32 | "Illegal seek", | |
33 | "Read-only file system", | |
34 | "Too many links", | |
35 | "Broken Pipe", | |
36 | "Disk quota exceeded", | |
37 | }; | |
38 | int sys_nerr { sizeof sys_errlist/sizeof sys_errlist[0] }; |