4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
25 * Do NOT add entries to this list such that it grows the list
26 * beyond the last entry:
27 * 151 Stale NFS file handle
28 * Growing this list may damage programs because this array is
29 * copied into a reserved array at runtime. See bug 4097669.
31 * If you need to add an entry please use one of the empty
33 * The arrays _sys_errs[], accessible via perror(3C) and strerror(3C)
34 * interfaces, and sys_errlist[] are created from this list.
35 * It is the direct referencing of sys_errlist[] that is the problem.
36 * Your code should only use perror() or strerror().
38 * The table is organized with the first column being the error number.
39 * The second column is the error's name. If the error should be skipped
40 * from the list, it has the magic name 'SKIP'. This generally is for
41 * the XENIX errors. The third column to the end of the file is the
42 * string that shows up when you run strerror().
46 2 ENOENT No such file or directory
47 3 ESRCH No such process
48 4 EINTR Interrupted system call
50 6 ENXIO No such device or address
51 7 E2BIG Arg list too long
52 8 ENOEXEC Exec format error
53 9 EBADF Bad file number
54 10 ECHILD No child processes
55 11 EAGAIN Resource temporarily unavailable
56 12 ENOMEM Not enough space
57 13 EACCES Permission denied
59 15 ENOTBLK Block device required
62 18 EXDEV Cross-device link
63 19 ENODEV No such device
64 20 ENOTDIR Not a directory
65 21 EISDIR Is a directory
66 22 EINVAL Invalid argument
67 23 ENFILE File table overflow
68 24 EMFILE Too many open files
69 25 ENOTTY Inappropriate ioctl for device
70 26 ETXTBSY Text file busy
71 27 EFBIG File too large
72 28 ENOSPC No space left on device
73 29 ESPIPE Illegal seek
74 30 EROFS Read-only file system
75 31 EMLINK Too many links
77 33 EDOM Argument out of domain
78 34 ERANGE Result too large
79 35 ENOMSG No message of desired type
80 36 EIDRM Identifier removed
81 37 ECHRNG Channel number out of range
82 38 EL2NSYNC Level 2 not synchronized
83 39 EL3HLT Level 3 halted
84 40 EL3RST Level 3 reset
85 41 ELNRNG Link number out of range
86 42 EUNATCH Protocol driver not attached
87 43 ENOCSI No CSI structure available
88 44 EL2HLT Level 2 halted
89 45 EDEADLK Deadlock situation detected/avoided
90 46 ENOLCK No record locks available
91 47 ECANCELED Operation canceled
92 48 ENOTSUP Operation not supported
93 49 EDQUOT Disc quota exceeded
94 50 EBADE Bad exchange descriptor
95 51 EBADR Bad request descriptor
96 52 EXFULL Message tables full
97 53 ENOANO Anode table overflow
98 54 EBADRQC Bad request code
99 55 EBADSLT Invalid slot
100 56 EDEADLOCK File locking deadlock
101 57 EBFONT Bad font file format
102 58 EOWNERDEAD Owner of the lock died
103 59 ENOTRECOVERABLE Lock is not recoverable
104 60 ENOSTR Not a stream device
105 61 ENODATA No data available
106 62 ETIME Timer expired
107 63 ENOSR Out of stream resources
108 64 ENONET Machine is not on the network
109 65 ENOPKG Package not installed
110 66 EREMOTE Object is remote
111 67 ENOLINK Link has been severed
112 68 EADV Advertise error
113 69 ESRMNT Srmount error
114 70 ECOMM Communication error on send
115 71 EPROTO Protocol error
116 72 ELOCKUNMAPPED Locked lock was unmapped
117 73 ENOTACTIVE Facility is not active
118 74 EMULTIHOP Multihop attempted
119 77 EBADMSG Not a data message
120 78 ENAMETOOLONG File name too long
121 79 EOVERFLOW Value too large for defined data type
122 80 ENOTUNIQ Name not unique on network
123 81 EBADFD File descriptor in bad state
124 82 EREMCHG Remote address changed
125 83 ELIBACC Can not access a needed shared library
126 84 ELIBBAD Accessing a corrupted shared library
127 85 ELIBSCN .lib section in a.out corrupted
128 86 ELIBMAX Attempting to link in more shared libraries than system limit
129 87 ELIBEXEC Can not exec a shared library directly
130 88 EILSEQ Illegal byte sequence
131 89 ENOSYS Operation not applicable
132 90 ELOOP Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
133 93 ENOTEMPTY Directory not empty
134 94 EUSERS Too many users
135 95 ENOTSOCK Socket operation on non-socket
136 96 EDESTADDRREQ Destination address required
137 97 EMSGSIZE Message too long
138 98 EPROTOTYPE Protocol wrong type for socket
139 99 ENOPROTOOPT Option not supported by protocol
140 120 EPROTONOSUPPORT Protocol not supported
141 121 ESOCKTNOSUPPORT Socket type not supported
142 122 EOPNOTSUPP Operation not supported on transport endpoint
143 123 EPFNOSUPPORT Protocol family not supported
144 124 EAFNOSUPPORT Address family not supported by protocol family
145 125 EADDRINUSE Address already in use
146 126 EADDRNOTAVAIL Cannot assign requested address
147 127 ENETDOWN Network is down
148 128 ENETUNREACH Network is unreachable
149 129 ENETRESET Network dropped connection because of reset
150 130 ECONNABORTED Software caused connection abort
151 131 ECONNRESET Connection reset by peer
152 132 ENOBUFS No buffer space available
153 133 EISCONN Transport endpoint is already connected
154 134 ENOTCONN Transport endpoint is not connected
155 135 SKIP Structure needs cleaning
156 137 SKIP Not a name file
157 138 SKIP Not available
158 139 SKIP Is a name file
159 140 SKIP Remote I/O error
160 141 SKIP Reserved for future use
162 143 ESHUTDOWN Cannot send after socket shutdown
163 144 ETOOMANYREFS Too many references: cannot splice
164 145 ETIMEDOUT Connection timed out
165 146 ECONNREFUSED Connection refused
166 147 EHOSTDOWN Host is down
167 148 EHOSTUNREACH No route to host
168 149 EALREADY Operation already in progress
169 150 EINPROGRESS Operation now in progress
170 151 ESTALE Stale NFS file handle