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