xref: /inferno-os/os/boot/pc/error.h (revision 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a)
1 extern char Enoerror[];		/* no error */
2 extern char Emount[];		/* inconsistent mount */
3 extern char Eunmount[];		/* not mounted */
4 extern char Eunion[];		/* not in union */
5 extern char Emountrpc[];	/* mount rpc error */
6 extern char Eshutdown[];	/* mounted device shut down */
7 extern char Enocreate[];	/* mounted directory forbids creation */
8 extern char Enonexist[];	/* file does not exist */
9 extern char Eexist[];		/* file already exists */
10 extern char Ebadsharp[];	/* unknown device in # filename */
11 extern char Enotdir[];		/* not a directory */
12 extern char Eisdir[];		/* file is a directory */
13 extern char Ebadchar[];		/* bad character in file name */
14 extern char Efilename[];	/* file name syntax */
15 extern char Eperm[];		/* permission denied */
16 extern char Ebadusefd[];	/* inappropriate use of fd */
17 extern char Ebadarg[];		/* bad arg in system call */
18 extern char Einuse[];		/* device or object already in use */
19 extern char Eio[];		/* i/o error */
20 extern char Etoobig[];		/* read or write too large */
21 extern char Etoosmall[];	/* read or write too small */
22 extern char Enetaddr[];		/* bad network address */
23 extern char Emsgsize[];		/* message is too big for protocol */
24 extern char Enetbusy[];		/* network device is busy or allocated */
25 extern char Enoproto[];		/* network protocol not supported */
26 extern char Enoport[];		/* network port not available */
27 extern char Enoifc[];		/* bad interface or no free interface slots */
28 extern char Enolisten[];	/* not announced */
29 extern char Ehungup[];		/* write to hungup channel */
30 extern char Ebadctl[];		/* bad process or channel control request */
31 extern char Enodev[];		/* no free devices */
32 extern char Enoenv[];		/* no free environment resources */
33 extern char Emuxshutdown[];	/* mux server shut down */
34 extern char Emuxbusy[];		/* all mux channels busy */
35 extern char Emuxmsg[];		/* bad mux message format or mismatch */
36 extern char Eprocdied[];	/* process exited */
37 extern char Enochild[];		/* no living children */
38 extern char Eioload[];		/* i/o error in demand load */
39 extern char Enovmem[];		/* virtual memory allocation failed */
40 extern char Ebadld[];		/* illegal line discipline */
41 extern char Ebadfd[];		/* fd out of range or not open */
42 extern char Eisstream[];	/* seek on a stream */
43 extern char Ebadexec[];		/* exec header invalid */
44 extern char Etimedout[];	/* connection timed out */
45 extern char Econrefused[];	/* connection refused */
46 extern char Enetunreach[];	/* network unreachable */
47 extern char Eintr[];		/* interrupted */
48 extern char Eneedservice[];	/* service required for tcp/udp/il calls */
49 extern char Enomem[];		/* kernel allocate failed */
50 extern char Enoswap[];		/* swap space full */
51 extern char Esfnotcached[];	/* subfont not cached */
52 extern char Esoverlap[];	/* segments overlap */
53 extern char Emouseset[];	/* mouse type already set */
54 extern char Erecover[];		/* failed to recover fd */
55 extern char Eshort[];		/* i/o count too small */
56 extern char Egreg[];		/* ken scheduled it */
57 extern char Ebadspec[];		/* bad attach specifier */
58 extern char Enoreg[];		/* process has no saved registers */
59