1 module tango.sys.solaris.consts.errno;
2 enum {
3     E2BIG = 7, // Argument list too long
4     EACCES = 13, // Permission denied
5     EADDRINUSE = 98, // Address already in use
6     EADDRNOTAVAIL = 99, // Can't assign requested address
7     EADV = 68, // Advertise error
8     EAFNOSUPPORT = 97, // Address family not supported by protocol family
9     EAGAIN = 11, // Resource temporarily unavailable
10     EALREADY = 114, // Operation already in progress
11     EBADE = 52, // Invalid exchange
12     EBADF = 9, // Bad file descriptor
13     EBADFD = 77, // File descriptor in bad state
14     EBADMSG = 74, // Bad message
15     EBADR = 53, // Invalid request descriptor
16     EBADRQC = 56, // Invalid request code
17     EBADSLT = 57, // Invalid slot
18     EBFONT = 59, // Bad font file format
19     EBUSY = 16, // Device busy
20     ECANCELED = 125, // Operation canceled
21     ECHILD = 10, // No child processes
22     ECHRNG = 44, // Channel number out of range
23     ECOMM = 70, // Communication error on send
24     ECONNABORTED = 103, // Software caused connection abort
25     ECONNREFUSED = 111, // Connection refused
26     ECONNRESET = 104, // Connection reset by peer
27     EDEADLK = 35, // Resource deadlock avoided
28     EDEADLOCK = 35,
29     EDESTADDRREQ = 89, // Destination address required
30     EDOM = 33, // Numerical argument out of domain
31     EDOTDOT = 73, // RFS specific error
32     EDQUOT = 122, // Disc quota exceeded
33     EEXIST = 17, // File exists
34     EFAULT = 14, // Bad address
35     EFBIG = 27, // File too large
36     EHOSTDOWN = 112, // Host is down
37     EHOSTUNREACH = 113, // No route to host
38     EIDRM = 43, // Itendifier removed
39     EILSEQ = 84, // Illegal byte sequence
40     EINPROGRESS = 115, // Operation now in progress
41     EINTR = 4, // Interrupted system call
42     EINVAL = 22, // Invalid argument
43     EIO = 5, // Input/output error
44     EISCONN = 106, // Socket is already connected
45     EISDIR = 21, // Is a directory
46     EISNAM = 120, // Is a named type file
47     EKEYEXPIRED = 127, // Key has expired
48     EKEYREJECTED = 129, // Key was rejected by service
49     EKEYREVOKED = 128, // Key has been revoked
50     EL2HLT = 51, // Level 2 halted
51     EL2NSYNC = 45, // Level 2 not synchronized
52     EL3HLT = 46, // Level 3 halted
53     EL3RST = 47, // Level 3 reset
54     ELIBACC = 79, // Can not access a needed shared library
55     ELIBBAD = 80, // Accessing a corrupted shared library
56     ELIBEXEC = 83, // Cannot exec a shared library directly
57     ELIBMAX = 82, // Attempting to link in too many shared libraries
58     ELIBSCN = 81, // .lib section in a.out corrupted
59     ELNRNG = 48, // Link number out of range
60     ELOOP = 40, // Too many levels of symbolic links
61     EMEDIUMTYPE = 124, // Wrong medium type
62     EMFILE = 24, // Too many open files
63     EMLINK = 31, // Too many links
64     EMSGSIZE = 90, // Message too long
65     EMULTIHOP = 72, // Multihop attempted
66     ENAMETOOLONG = 36, // File name too long
67     ENAVAIL = 119, // No XENIX semaphores available
68     ENETDOWN = 100, // Network is down
69     ENETRESET = 102, // Network dropped connection on reset
70     ENETUNREACH = 101, // Network is unreachable
71     ENFILE = 23, // Too many open files in system
72     ENOANO = 55, // No anode
73     ENOBUFS = 105, // No buffer space available
74     ENOCSI = 50, // No CSI structure available
75     ENODATA = 61, // No message available on STREAM
76     ENODEV = 19, // Operation not supported by device
77     ENOENT = 2, // No such file or directory
78     ENOEXEC = 8, // Exec format error
79     ENOKEY = 126, // Required key not available
80     ENOLCK = 37, // No locks available
81     ENOLINK = 67, // Link has been severed
82     ENOMEDIUM = 123, // No medium found
83     ENOMEM = 12, // Cannot allocate memory
84     ENOMSG = 42, // No message of desired type
85     ENONET = 64, // Machine is not on the network
86     ENOPKG = 65, // Package not installed
87     ENOPROTOOPT = 92, // Protocol not available
88     ENOSPC = 28, // No space left on device
89     ENOSR = 63, // No STREAM resources
90     ENOSTR = 60, // Not a STREAM
91     ENOSYS = 38, // Function not implemented
92     ENOTBLK = 15, // Block device required
93     ENOTCONN = 107, // Socket is not connected
94     ENOTDIR = 20, // Not a directory
95     ENOTEMPTY = 39, // Directory not empty
96     ENOTNAM = 118, // Not a XENIX named type file
97     ENOTRECOVERABLE = 131, // State not recoverable
98     ENOTSOCK = 88, // Socket operation on non-socket
99     ENOTSUP = 95, // Operation not supported
100     ENOTTY = 25, // Inappropriate ioctl for device
101     ENOTUNIQ = 76, // Name not unique on network
102     ENXIO = 6, // Device not configured
103     EOPNOTSUPP = 95, // Operation not supported on socket
104     EOVERFLOW = 75, // Value too large to be stored in data type
105     EOWNERDEAD = 130, // Owner died
106     EPERM = 1, // Operation not permitted
107     EPFNOSUPPORT = 96, // Protocol family not supported
108     EPIPE = 32, // Broken pipe
109     EPROTO = 71, // Protocol error
110     EPROTONOSUPPORT = 93, // Protocol not supported
111     EPROTOTYPE = 91, // Protocol wrong type for socket
112     ERANGE = 34, // Result too large
113     EREMCHG = 78, // Remote address changed
114     EREMOTE = 66, // Too many levels of remote in path
115     EREMOTEIO = 121, // Remote I/O error
116     ERESTART = 85, // Interrupted system call should be restarted
117     EROFS = 30, // Read-only file system
118     ESHUTDOWN = 108, // Can't send after socket shutdown
119     ESOCKTNOSUPPORT = 94, // Socket type not supported
120     ESPIPE = 29, // Illegal seek
121     ESRCH = 3, // No such process
122     ESRMNT = 69, // Srmount error
123     ESTALE = 116, // Stale NFS file handle
124     ESTRPIPE = 86, // Streams pipe error
125     ETIME = 62, // STREAM ioctl timeout
126     ETIMEDOUT = 110, // Operation timed out
127     ETOOMANYREFS = 109, // Too many refrences, can't splice
128     ETXTBSY = 26, // Text file busy
129     EUCLEAN = 117, // Structure needs cleaning
130     EUNATCH = 49, // Protocol driver not attached
131     EUSERS = 87, // Too many users
132     EWOULDBLOCK = 11, // Operation would block
133     EXDEV = 18, // Cross-device link
134     EXFULL = 54, // Exchange full
135 }