#include <9pm/u.h>
#include <9pm/libc.h>
#include "dat.h"

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[] = "write to 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 Eprocdied[] = "process exited";
char Enochild[] = "no living children";
char Eioload[] = "i/o error in demand load";
char Enovmem[] = "virtual memory allocation failed";
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 Enetunreach[] = "network unreachable";
char Eintr[] = "interrupted";
char Eneedservice[] = "service required for tcp/udp/il calls";
char Enomem[] = "kernel allocate failed";
char Esfnotcached[] = "subfont not cached";
char Esoverlap[] = "segments overlap";
char Emouseset[] = "mouse type already set";
char Erecover[] = "failed to recover fd";
char Eshort[] = "i/o count too small";
char Enobitstore[] = "out of screen memory";
char Egreg[] = "philw fixed it";
char Ebadspec[] = "bad attach specifier";
char Estopped[] = "thread must be stopped";
char Ehangup[] = "channel hangup";
char Enoattach[] = "mount/attach disallowed";
char Eshortstat[] = "stat buffer too small";
char Ebadstat[] = "malformed stat buffer";
char Enegoff[] = "negative i/o offset";
char Enofd[] = "no free file descriptors";
char Ecmdargs[] = "wrong #args in control message";
