xref: /inferno-os/os/port/error.h (revision 7ef44d652ae9e5e1f5b3465d73684e4a54de73c0)
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[];		/* i/o on 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 Ethread[];		/* thread exited */
34 extern char Estopped[];		/* thread must be stopped */
35 extern char Enochild[];		/* no living children */
36 extern char Eioload[];		/* i/o error in demand load */
37 extern char Enovmem[];		/* out of memory: virtual memory */
38 extern char Ebadld[];		/* illegal line discipline */
39 extern char Ebadfd[];		/* fd out of range or not open */
40 extern char Eisstream[];	/* seek on a stream */
41 extern char Ebadexec[];		/* exec header invalid */
42 extern char Etimedout[];	/* connection timed out */
43 extern char Econrefused[];	/* connection refused */
44 extern char Econinuse[];	/* connection in use */
45 extern char Eintr[];		/* interrupted */
46 extern char Eneedservice[];	/* service required for tcp/udp/il calls */
47 extern char Enomem[];		/* out of memory: kernel */
48 extern char Esfnotcached[];	/* subfont not cached */
49 extern char Esoverlap[];	/* segments overlap */
50 extern char Emouseset[];	/* mouse type already set */
51 extern char Erecover[];		/* failed to recover fd */
52 extern char Eshort[];		/* i/o count too small */
53 extern char Enobitstore[];	/* out of screen memory */
54 extern char Egreg[];		/* jim'll fix it */
55 extern char Ebadspec[];		/* bad attach specifier */
56 extern char Enoattach[];	/* mount/attach disallowed */
57 extern char Eshortstat[];	/* stat buffer too small */
58 extern char Enegoff[];	/* negative i/o offset */
59 extern char Ecmdargs[];		/* wrong #args in control message */
60 extern char Ebadstat[];		/* malformed stat buffer */
61 extern char	Enofd[];	/* no free file descriptors */
62