shithub: p9-stm32-example-os

ref: f801657f77f3923ec2388c25bdcb036c8019ba89
dir: /error.c/

View raw version
char Enoerror[] = "no error";
char Emount[] = "inconsistent mount";
char Eunmount[] = "not mounted";
char Eunion[] = "not in union";
char Emountrpc[] = "mount rpc error";
char Eshutdown[] = "mounted device shut down";
char Eowner[] = "not owner";
char Eunknown[] = "unknown user or group id";
char Enocreate[] = "mounted directory forbids creation";
char Enonexist[] = "file does not exist";
char Eexist[] = "file already exists";
char Ebadsharp[] = "unknown device in # filename";
char Enotdir[] = "not a directory";
char Eisdir[] = "file is a directory";
char Ebadchar[] = "bad character in file name";
char Efilename[] = "file name syntax";
char Eperm[] = "permission denied";
char Ebadusefd[] = "inappropriate use of fd";
char Ebadarg[] = "bad arg in system call";
char Einuse[] = "device or object already in use";
char Eio[] = "i/o error";
char Etoobig[] = "read or write too large";
char Etoosmall[] = "read or write too small";
char Enetaddr[] = "bad network address";
char Emsgsize[] = "message is too big for protocol";
char Enetbusy[] = "network device is busy or allocated";
char Enoproto[] = "network protocol not supported";
char Enoport[] = "network port not available";
char Enoifc[] = "bad interface or no free interface slots";
char Enolisten[] = "not announced";
char Ehungup[] = "i/o on hungup channel";
char Ebadctl[] = "bad process or channel control request";
char Enodev[] = "no free devices";
char Enoenv[] = "no free environment resources";
char Emuxshutdown[] = "mux server shut down";
char Emuxbusy[] = "all mux channels busy";
char Emuxmsg[] = "bad mux message format or mismatch";
char Ethread[] = "thread exited";
char Enochild[] = "no living children";
char Eioload[] = "i/o error in demand load";
char Enovmem[] = "out of memory: virtual memory";
char Ebadld[] = "illegal line discipline";
char Ebadfd[] = "fd out of range or not open";
char Eisstream[] = "seek on a stream";
char Ebadexec[] = "exec header invalid";
char Etimedout[] = "connection timed out";
char Econrefused[] = "connection refused";
char Econinuse[] = "connection in use";
char Enetunreach[] = "network unreachable";
char Eintr[] = "interrupted";
char Enomem[] = "out of memory: kernel";
char Esfnotcached[] = "subfont not cached";
char Esoverlap[] = "segments overlap";
char Emouseset[] = "mouse type already set";
char Eshort[] = "i/o count too small";
/* char Enobitstore[] = "out of screen memory"; */
char Egreg[] = "jim'll fix it";
char Ebadspec[] = "bad attach specifier";
char Estopped[] = "thread must be stopped";
char Enoattach[] = "mount/attach disallowed";
char Eshortstat[] = "stat buffer too small";
char Enegoff[] = "negative i/o offset";
char Ebadstat[] = "malformed stat buffer";
char Ecmdargs[] = "wrong #args in control message";
char Enofd[] = "no free file descriptors";
char Enoctl[] = "unknown control request";