1#define	SOLARIS_EPERM 0x1 /* Not super-user */
2#define	SOLARIS_ENOENT 0x2 /* No such file or directory */
3#define	SOLARIS_ESRCH 0x3 /* No such process */
4#define	SOLARIS_EINTR 0x4 /* interrupted system call */
5#define	SOLARIS_EIO 0x5 /* I/O error */
6#define	SOLARIS_ENXIO 0x6 /* No such device or address */
7#define	SOLARIS_E2BIG 0x7 /* Arg list too long */
8#define	SOLARIS_ENOEXEC 0x8 /* Exec format error */
9#define	SOLARIS_EBADF 0x9 /* Bad file number */
10#define	SOLARIS_ECHILD 0xa /* No children */
11#define	SOLARIS_EAGAIN 0xb /* Resource temporarily unavailable */
12#define	SOLARIS_ENOMEM 0xc /* Not enough core */
13#define	SOLARIS_EACCES 0xd /* Permission denied */
14#define	SOLARIS_EFAULT 0xe /* Bad address */
15#define	SOLARIS_ENOTBLK 0xf /* Block device required */
16#define	SOLARIS_EBUSY 0x10 /* Mount device busy */
17#define	SOLARIS_EEXIST 0x11 /* File exists */
18#define	SOLARIS_EXDEV 0x12 /* Cross-device link */
19#define	SOLARIS_ENODEV 0x13 /* No such device */
20#define	SOLARIS_ENOTDIR 0x14 /* Not a directory */
21#define	SOLARIS_EISDIR 0x15 /* Is a directory */
22#define	SOLARIS_EINVAL 0x16 /* Invalid argument */
23#define	SOLARIS_ENFILE 0x17 /* File table overflow */
24#define	SOLARIS_EMFILE 0x18 /* Too many open files */
25#define	SOLARIS_ENOTTY 0x19 /* Inappropriate ioctl for device */
26#define	SOLARIS_ETXTBSY 0x1a /* Text file busy */
27#define	SOLARIS_EFBIG 0x1b /* File too large */
28#define	SOLARIS_ENOSPC 0x1c /* No space left on device */
29#define	SOLARIS_ESPIPE 0x1d /* Illegal seek */
30#define	SOLARIS_EROFS 0x1e /* Read only file system */
31#define	SOLARIS_EMLINK 0x1f /* Too many links */
32#define	SOLARIS_EPIPE 0x20 /* Broken pipe */
33#define	SOLARIS_EDOM 0x21 /* Math arg out of domain of func */
34#define	SOLARIS_ERANGE 0x22 /* Math result not representable */
35#define	SOLARIS_ENOMSG 0x23 /* No message of desired type */
36#define	SOLARIS_EIDRM 0x24 /* Identifier removed */
37#define	SOLARIS_ECHRNG 0x25 /* Channel number out of range */
38#define	SOLARIS_EL2NSYNC 0x26 /* Level 2 not synchronized */
39#define	SOLARIS_EL3HLT 0x27 /* Level 3 halted */
40#define	SOLARIS_EL3RST 0x28 /* Level 3 reset */
41#define	SOLARIS_ELNRNG 0x29 /* Link number out of range */
42#define	SOLARIS_EUNATCH 0x2a /* Protocol driver not attached */
43#define	SOLARIS_ENOCSI 0x2b /* No CSI structure available */
44#define	SOLARIS_EL2HLT 0x2c /* Level 2 halted */
45#define	SOLARIS_EDEADLK 0x2d /* Deadlock condition. */
46#define	SOLARIS_ENOLCK 0x2e /* No record locks available. */
47#define	SOLARIS_ECANCELED 0x2f /* Operation canceled */
48#define	SOLARIS_ENOTSUP 0x30 /* Operation not supported */
49#define	SOLARIS_EDQUOT 0x31 /* Disc quota exceeded */
50#define	SOLARIS_EBADE 0x32 /* invalid exchange */
51#define	SOLARIS_EBADR 0x33 /* invalid request descriptor */
52#define	SOLARIS_EXFULL 0x34 /* exchange full */
53#define	SOLARIS_ENOANO 0x35 /* no anode */
54#define	SOLARIS_EBADRQC 0x36 /* invalid request code */
55#define	SOLARIS_EBADSLT 0x37 /* invalid slot */
56#define	SOLARIS_EDEADLOCK 0x38 /* file locking deadlock error */
57#define	SOLARIS_EBFONT 0x39 /* bad font file fmt */
58#define	SOLARIS_EUNUSED58 0x3a /* not defined */
59#define	SOLARIS_EUNUSED59 0x3b /* not defined */
60#define	SOLARIS_ENOSTR 0x3c /* Device not a stream */
61#define	SOLARIS_ENODATA 0x3d /* no data (for no delay io) */
62#define	SOLARIS_ETIME 0x3e /* timer expired */
63#define	SOLARIS_ENOSR 0x3f /* out of streams resources */
64#define	SOLARIS_ENONET 0x40 /* Machine is not on the network */
65#define	SOLARIS_ENOPKG 0x41 /* Package not installed */
66#define	SOLARIS_EREMOTE 0x42 /* The object is remote */
67#define	SOLARIS_ENOLINK 0x43 /* the link has been severed */
68#define	SOLARIS_EADV 0x44 /* advertise error */
69#define	SOLARIS_ESRMNT 0x45 /* srmount error */
70#define	SOLARIS_ECOMM 0x46 /* Communication error on send */
71#define	SOLARIS_EPROTO 0x47 /* Protocol error */
72#define	SOLARIS_EUNISED72 0x48 /* undefined */
73#define	SOLARIS_EUNISED73 0x49 /* undefined */
74#define	SOLARIS_EMULTIHOP 0x4a /* multihop attempted */
75#define	SOLARIS_EUNISED75 0x4b /* undefined */
76#define	SOLARIS_EUNISED76 0x4c /* undefined */
77#define	SOLARIS_EBADMSG 0x4d /* trying to read unreadable message */
78#define	SOLARIS_ENAMETOOLONG 0x4e /* path name is too long */
79#define	SOLARIS_EOVERFLOW 0x4f /* value too large to be stored in data type */
80#define	SOLARIS_ENOTUNIQ 0x50 /* given log. name not unique */
81#define	SOLARIS_EBADFD 0x51 /* f.d. invalid for this operation */
82#define	SOLARIS_EREMCHG 0x52 /* Remote address changed */
83#define	SOLARIS_ELIBACC 0x53 /* Can't access a needed shared lib. */
84#define	SOLARIS_ELIBBAD 0x54 /* Accessing a corrupted shared lib. */
85#define	SOLARIS_ELIBSCN 0x55 /* .lib section in a.out corrupted. */
86#define	SOLARIS_ELIBMAX 0x56 /* Attempting to link in too many libs. */
87#define	SOLARIS_ELIBEXEC 0x57 /* Attempting to exec a shared library. */
88#define	SOLARIS_EILSEQ 0x58 /* Illegal byte sequence. */
89#define	SOLARIS_ENOSYS 0x59 /* Unsupported file system operation */
90#define	SOLARIS_ELOOP 0x5a /* Symbolic link loop */
91#define	SOLARIS_ERESTART 0x5b /* Restartable system call */
92#define	SOLARIS_ESTRPIPE 0x5c /* if pipe/FIFO, don't sleep in stream head */
93#define	SOLARIS_ENOTEMPTY 0x5d /* directory not empty */
94#define	SOLARIS_EUSERS 0x5e /* Too many users (for UFS) */
95#define	SOLARIS_ENOTSOCK 0x5f /* Socket operation on non-socket */
96#define	SOLARIS_EDESTADDRREQ 0x60 /* Destination address required */
97#define	SOLARIS_EMSGSIZE 0x61 /* Message too long */
98#define	SOLARIS_EPROTOTYPE 0x62 /* Protocol wrong type for socket */
99#define	SOLARIS_ENOPROTOOPT 0x63 /* Protocol not available */
100#define	SOLARIS_EUNUSED100 0x64 /* undefined */
101#define	SOLARIS_EUNUSED101 0x65 /* undefined */
102#define	SOLARIS_EUNUSED102 0x66 /* undefined */
103#define	SOLARIS_EUNUSED103 0x67 /* undefined */
104#define	SOLARIS_EUNUSED104 0x68 /* undefined */
105#define	SOLARIS_EUNUSED105 0x69 /* undefined */
106#define	SOLARIS_EUNUSED106 0x6a /* undefined */
107#define	SOLARIS_EUNUSED107 0x6b /* undefined */
108#define	SOLARIS_EUNUSED108 0x6c /* undefined */
109#define	SOLARIS_EUNUSED109 0x6d /* undefined */
110#define	SOLARIS_EUNUSED110 0x6e /* undefined */
111#define	SOLARIS_EUNUSED111 0x6f /* undefined */
112#define	SOLARIS_EUNUSED112 0x70 /* undefined */
113#define	SOLARIS_EUNUSED113 0x71 /* undefined */
114#define	SOLARIS_EUNUSED114 0x72 /* undefined */
115#define	SOLARIS_EUNUSED115 0x73 /* undefined */
116#define	SOLARIS_EUNUSED116 0x74 /* undefined */
117#define	SOLARIS_EUNUSED117 0x75 /* undefined */
118#define	SOLARIS_EUNUSED118 0x76 /* undefined */
119#define	SOLARIS_EUNUSED119 0x77 /* undefined */
120#define	SOLARIS_EPROTONOSUPPORT 0x78 /* Protocol not supported */
121#define	SOLARIS_ESOCKTNOSUPPORT 0x79 /* Socket type not supported */
122#define	SOLARIS_EOPNOTSUPP 0x7a /* Operation not supported on socket */
123#define	SOLARIS_EPFNOSUPPORT 0x7b /* Protocol family not supported */
124#define	SOLARIS_EAFNOSUPPORT 0x7c /* Address family not supported by protocol family */
125#define	SOLARIS_EADDRINUSE 0x7d /* Address already in use */
126#define	SOLARIS_EADDRNOTAVAIL 0x7e /* Can't assign requested address operational errors */
127#define	SOLARIS_ENETDOWN 0x7f /* Network is down */
128#define	SOLARIS_ENETUNREACH 0x80 /* Network is unreachable */
129#define	SOLARIS_ENETRESET 0x81 /* Network dropped connection because of reset */
130#define	SOLARIS_ECONNABORTED 0x82 /* Software caused connection abort */
131#define	SOLARIS_ECONNRESET 0x83 /* Connection reset by peer */
132#define	SOLARIS_ENOBUFS 0x84 /* No buffer space available */
133#define	SOLARIS_EISCONN 0x85 /* Socket is already connected */
134#define	SOLARIS_ENOTCONN 0x86 /* Socket is not connected */
135#define	SOLARIS_EXENIX135 0x87 /* XENIX 135 */
136#define	SOLARIS_EXENIX136 0x88 /* XENIX 136 */
137#define	SOLARIS_EXENIX137 0x89 /* XENIX 137 */
138#define	SOLARIS_EXENIX138 0x8a /* XENIX 138 */
139#define	SOLARIS_EXENIX139 0x8b /* XENIX 139 */
140#define	SOLARIS_EXENIX140 0x8c /* XENIX 140 */
141#define	SOLARIS_EXENIX141 0x8d /* XENIX 141 */
142#define	SOLARIS_EXENIX142 0x8e /* XENIX 142 */
143#define	SOLARIS_ESHUTDOWN 0x8f /* Can't send after socket shutdown */
144#define	SOLARIS_ETOOMANYREFS 0x90 /* Too many references: can't splice */
145#define	SOLARIS_ETIMEDOUT 0x91 /* Connection timed out */
146#define	SOLARIS_ECONNREFUSED 0x92 /* Connection refused */
147#define	SOLARIS_EHOSTDOWN 0x93 /* Host is down */
148#define	SOLARIS_EHOSTUNREACH 0x94 /* No route to host */
149#define	SOLARIS_EALREADY 0x95 /* operation already in progress */
150#define	SOLARIS_EINPROGRESS 0x96 /* operation now in progress */
151#define	SOLARIS_ESTALE 0x97 /* Stale NFS file handle */
152