xref: /inferno-os/emu/port/error.c (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
1 char Enoerror[] = "no error";
2 char Emount[] = "inconsistent mount";
3 char Eunmount[] = "not mounted";
4 char Eunion[] = "not in union";
5 char Emountrpc[] = "mount rpc error";
6 char Eshutdown[] = "mounted device shut down";
7 char Eowner[] = "not owner";
8 char Eunknown[] = "unknown user or group id";
9 char Enocreate[] = "mounted directory forbids creation";
10 char Enonexist[] = "file does not exist";
11 char Eexist[] = "file already exists";
12 char Ebadsharp[] = "unknown device in # filename";
13 char Enotdir[] = "not a directory";
14 char Eisdir[] = "file is a directory";
15 char Ebadchar[] = "bad character in file name";
16 char Efilename[] = "file name syntax";
17 char Eperm[] = "permission denied";
18 char Ebadusefd[] = "inappropriate use of fd";
19 char Ebadarg[] = "bad arg in system call";
20 char Einuse[] = "device or object already in use";
21 char Eio[] = "i/o error";
22 char Etoobig[] = "read or write too large";
23 char Etoosmall[] = "read or write too small";
24 char Enetaddr[] = "bad network address";
25 char Emsgsize[] = "message is too big for protocol";
26 char Enetbusy[] = "network device is busy or allocated";
27 char Enoproto[] = "network protocol not supported";
28 char Enoport[] = "network port not available";
29 char Enoifc[] = "bad interface or no free interface slots";
30 char Enolisten[] = "not announced";
31 char Ehungup[] = "i/o on hungup channel";
32 char Ebadctl[] = "bad process or channel control request";
33 char Enodev[] = "no free devices";
34 char Enoenv[] = "no free environment resources";
35 char Emuxshutdown[] = "mux server shut down";
36 char Emuxbusy[] = "all mux channels busy";
37 char Emuxmsg[] = "bad mux message format or mismatch";
38 char Ethread[] = "thread exited";
39 char Enochild[] = "no living children";
40 char Eioload[] = "i/o error in demand load";
41 char Enovmem[] = "out of memory: virtual memory";
42 char Ebadld[] = "illegal line discipline";
43 char Ebadfd[] = "fd out of range or not open";
44 char Eisstream[] = "seek on a stream";
45 char Ebadexec[] = "exec header invalid";
46 char Etimedout[] = "connection timed out";
47 char Econrefused[] = "connection refused";
48 char Econinuse[] = "connection in use";
49 char Enetunreach[] = "network unreachable";
50 char Eintr[] = "interrupted";
51 char Enomem[] = "out of memory: kernel";
52 char Esfnotcached[] = "subfont not cached";
53 char Esoverlap[] = "segments overlap";
54 char Emouseset[] = "mouse type already set";
55 char Eshort[] = "i/o count too small";
56 /* char Enobitstore[] = "out of screen memory"; */
57 char Egreg[] = "jim'll fix it";
58 char Ebadspec[] = "bad attach specifier";
59 char Estopped[] = "thread must be stopped";
60 char Enoattach[] = "mount/attach disallowed";
61 char Eshortstat[] = "stat buffer too small";
62 char Enegoff[] = "negative i/o offset";
63 char Ebadstat[] = "malformed stat buffer";
64 char Ecmdargs[] = "wrong #args in control message";
65 char Enofd[] = "no free file descriptors";
66 char Enoctl[] = "unknown control request";
67