code: mafs

ref: 5c21eca829380c28769f79beabb7cc51f1787f97
dir: /errno.h/

View raw version
enum{
	Ebadarg,	/* bad arg in system call */
	Ebadchar,	/* bad character in file name */
	Ebaddirread,	/* directory read not quantized */
	Ebadexec,	/* a.out header invalid */
	Ebadfd,		/* fid out of range or not open */
	Ebadmount,	/* inconsistent mount */
	Ebadsharp,	/* unknown device in # filename */
	Ebadusefd,	/* inappropriate use of fid */
	Ebuf,		/* buffer wrong size */
	Edirty,		/* dirty filesystem */
	Efidinuse,	/* fid already in use */
	Efilename,	/* file name syntax */
	Egreg,		/* it's all greg's fault */
	Einuse,		/* device or object already in use */
	Eio,		/* i/o error */
	Eioload,	/* i/o error in demand load */
	Eisdir,		/* file is a directory */
	Emount,		/* inconsistent mount */
	Enevermind,	/* never mind */
	Enochild,	/* no living children */
	Enocreate,	/* mounted directory forbids creation */
	Enoenv,		/* no free environment resources */
	Enofd,		/* no free file descriptors */
	Enomntdev,	/* no free mount devices */
	Enomount,	/* mount table full */
	Enonexist,	/* file does not exist */
	Enoseg,		/* no free segments */
	Enosrv,		/* no free server slots */
	Enotdir,	/* not a directory */
	Enotunion,	/* attempt to union with non-mounted directory */
	Eperm,		/* permission denied */
	Eprocdied,	/* process exited */
	Esegaddr,	/* illegal segment addresses or size */
	Eshutdown,	/* mounted device shut down */
	Etoolong,	/* name too long */
};