xref: /illumos-gate/usr/src/lib/libc/port/gen/errlist (revision e4e529b2beb8a30e14beb0573c4a114275d157cc)
1/*
2 * CDDL HEADER START
3 *
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
7 * with the License.
8 *
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.
13 *
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]
19 *
20 * CDDL HEADER END
21 */
22
23/*
24 * WARNING!
25 *	  Do NOT add or modify entries to this list before the end of legacy
26 *	  entries marker. Amending this list may damage programs because data
27 *	  is copied into reserved arrays at runtime. See bug 4097669.
28 *
29 * The table is organized with the first column being the error number.
30 * The second column is the error's name. If the error should be skipped
31 * from the list, it has the magic name 'SKIP'. This generally is for
32 * the XENIX errors. The third column to the end of the file is the
33 * string that shows up when you run strerror().
34 */
35
361	EPERM	Not owner
372	ENOENT	No such file or directory
383	ESRCH	No such process
394	EINTR	Interrupted system call
405	EIO	I/O error
416	ENXIO	No such device or address
427	E2BIG	Arg list too long
438	ENOEXEC	Exec format error
449	EBADF	Bad file number
4510	ECHILD	No child processes
4611	EAGAIN	Resource temporarily unavailable
4712	ENOMEM	Not enough space
4813	EACCES	Permission denied
4914	EFAULT	Bad address
5015	ENOTBLK	Block device required
5116	EBUSY	Device busy
5217	EEXIST	File exists
5318	EXDEV	Cross-device link
5419	ENODEV	No such device
5520	ENOTDIR	Not a directory
5621	EISDIR	Is a directory
5722	EINVAL	Invalid argument
5823	ENFILE	File table overflow
5924	EMFILE	Too many open files
6025	ENOTTY	Inappropriate ioctl for device
6126	ETXTBSY	Text file busy
6227	EFBIG	File too large
6328	ENOSPC	No space left on device
6429	ESPIPE	Illegal seek
6530	EROFS	Read-only file system
6631	EMLINK	Too many links
6732	EPIPE	Broken pipe
6833	EDOM	Argument out of domain
6934	ERANGE	Result too large
7035	ENOMSG	No message of desired type
7136	EIDRM	Identifier removed
7237	ECHRNG	Channel number out of range
7338	EL2NSYNC	Level 2 not synchronized
7439	EL3HLT	Level 3 halted
7540	EL3RST	Level 3 reset
7641	ELNRNG	Link number out of range
7742	EUNATCH	Protocol driver not attached
7843	ENOCSI	No CSI structure available
7944	EL2HLT	Level 2 halted
8045	EDEADLK	Deadlock situation detected/avoided
8146	ENOLCK	No record locks available
8247	ECANCELED	Operation canceled
8348	ENOTSUP	Operation not supported
8449	EDQUOT	Disc quota exceeded
8550	EBADE	Bad exchange descriptor
8651	EBADR	Bad request descriptor
8752	EXFULL	Message tables full
8853	ENOANO	Anode table overflow
8954	EBADRQC	Bad request code
9055	EBADSLT	Invalid slot
9156	EDEADLOCK	File locking deadlock
9257	EBFONT	Bad font file format
9358	EOWNERDEAD	Owner of the lock died
9459	ENOTRECOVERABLE	Lock is not recoverable
9560	ENOSTR	Not a stream device
9661	ENODATA	No data available
9762	ETIME	Timer expired
9863	ENOSR	Out of stream resources
9964	ENONET	Machine is not on the network
10065	ENOPKG	Package not installed
10166	EREMOTE	Object is remote
10267	ENOLINK	Link has been severed
10368	EADV	Advertise error
10469	ESRMNT	Srmount error
10570	ECOMM	Communication error on send
10671	EPROTO	Protocol error
107/*
108 * The trailing space on the next line is historic but must now be preserved
109 * since to do otherwise would change the size of, and offset into, the
110 * copy-relocated data in the 32-bit library. The string is replaced by a
111 * cleaned version later in the list for non-legacy use.
112 */
11372	ELOCKUNMAPPED	Locked lock was unmapped
11473	ENOTACTIVE	Facility is not active
11574	EMULTIHOP	Multihop attempted
11677	EBADMSG	Not a data message
11778	ENAMETOOLONG	File name too long
11879	EOVERFLOW	Value too large for defined data type
11980	ENOTUNIQ	Name not unique on network
12081	EBADFD	File descriptor in bad state
12182	EREMCHG	Remote address changed
12283	ELIBACC	Can not access a needed shared library
12384	ELIBBAD	Accessing a corrupted shared library
12485	ELIBSCN	.lib section in a.out corrupted
12586	ELIBMAX	Attempting to link in more shared libraries than system limit
12687	ELIBEXEC	Can not exec a shared library directly
12788	EILSEQ	Illegal byte sequence
12889	ENOSYS	Operation not applicable
12990	ELOOP	Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
13093	ENOTEMPTY	Directory not empty
13194	EUSERS	Too many users
13295	ENOTSOCK	Socket operation on non-socket
13396	EDESTADDRREQ	Destination address required
13497	EMSGSIZE	Message too long
13598	EPROTOTYPE	Protocol wrong type for socket
13699	ENOPROTOOPT	Option not supported by protocol
137120	EPROTONOSUPPORT	Protocol not supported
138121	ESOCKTNOSUPPORT	Socket type not supported
139122	EOPNOTSUPP	Operation not supported on transport endpoint
140123	EPFNOSUPPORT	Protocol family not supported
141124	EAFNOSUPPORT	Address family not supported by protocol family
142125	EADDRINUSE	Address already in use
143126	EADDRNOTAVAIL	Cannot assign requested address
144127	ENETDOWN	Network is down
145128	ENETUNREACH	Network is unreachable
146129	ENETRESET	Network dropped connection because of reset
147130	ECONNABORTED	Software caused connection abort
148131	ECONNRESET	Connection reset by peer
149132	ENOBUFS	No buffer space available
150133	EISCONN	Transport endpoint is already connected
151134	ENOTCONN	Transport endpoint is not connected
152135	SKIP	Structure needs cleaning
153137	SKIP	Not a name file
154138	SKIP	Not available
155139	SKIP	Is a name file
156140	SKIP	Remote I/O error
157141	SKIP	Reserved for future use
158142
159143	ESHUTDOWN	Cannot send after socket shutdown
160144	ETOOMANYREFS	Too many references: cannot splice
161145	ETIMEDOUT	Connection timed out
162146	ECONNREFUSED	Connection refused
163147	EHOSTDOWN	Host is down
164148	EHOSTUNREACH	No route to host
165149	EALREADY	Operation already in progress
166150	EINPROGRESS	Operation now in progress
167151	ESTALE	Stale NFS file handle
168/*
169 * Entries after this line are not used to generate the legacy data exported in
170 * the 32-bit library.
171 */
172== End of legacy entries ==
17372	ELOCKUNMAPPED	Locked lock was unmapped
17491	ERESTART	Restartable system call
17592	ESTRPIPE	If pipe/FIFO, don't sleep in stream head
176