xref: /plan9/sys/src/cmd/disk/kfs/errno.h (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
1 enum{
2 	Enevermind,	/* never mind */
3 	Enofd,		/* no free file descriptors */
4 	Ebadfd,		/* fd out of range or not open */
5 	Ebadusefd,	/* inappropriate use of fd */
6 	Ebadarg,	/* bad arg in system call */
7 	Enonexist,	/* file does not exist */
8 	Efilename,	/* file name syntax */
9 	Ebadchar,	/* bad character in file name */
10 	Ebadsharp,	/* unknown device in # filename */
11 	Ebadexec,	/* a.out header invalid */
12 	Eioload,	/* i/o error in demand load */
13 	Eperm,		/* permission denied */
14 	Enotdir,	/* not a directory */
15 	Enochild,	/* no living children */
16 	Enoseg,		/* no free segments */
17 	Ebuf,		/* buffer wrong size */
18 	Ebadmount,	/* inconsistent mount */
19 	Enomount,	/* mount table full */
20 	Enomntdev,	/* no free mount devices */
21 	Eshutdown,	/* mounted device shut down */
22 	Einuse,		/* device or object already in use */
23 	Eio,		/* i/o error (ramfs) */
24 	Eisdir,		/* file is a directory */
25 	Ebaddirread,	/* directory read not quantized */
26 	Esegaddr,	/* illegal segment addresses or size */
27 	Enoenv,		/* no free environment resources */
28 	Eprocdied,	/* process exited */
29 	Enocreate,	/* mounted directory forbids creation */
30 	Enotunion,	/* attempt to union with non-mounted directory */
31 	Emount,		/* inconsistent mount */
32 	Enosrv,		/* no free server slots */
33 	Egreg,		/* it's all greg's fault */
34 };
35