xref: /illumos-gate/usr/src/lib/libc/port/gen/errlist (revision 581cede61ac9c14d8d4ea452562a567189eead78)
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#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.10	*/
23
24/*
25 * WARNING!
26 *	  Do NOT add entries to this list such that it grows the list
27 *	  beyond the last entry:
28 *		151	Stale NFS file handle
29 *	  Growing this list may damage programs because this array is
30 *	  copied into a reserved array at runtime.  See bug 4097669.
31 *
32 *	  If you need to add an entry please use one of the empty
33 *	  slots.
34 *	  The arrays _sys_errs[], accessible via perror(3C) and strerror(3C)
35 *	  interfaces, and sys_errlist[] are created from this list.
36 *	  It is the direct referencing of sys_errlist[] that is the problem.
37 *	  Your code should only use perror() or strerror().
38 */
39
401	Not owner
412	No such file or directory
423	No such process
434	Interrupted system call
445	I/O error
456	No such device or address
467	Arg list too long
478	Exec format error
489	Bad file number
4910	No child processes
5011	Resource temporarily unavailable
5112	Not enough space
5213	Permission denied
5314	Bad address
5415	Block device required
5516	Device busy
5617	File exists
5718	Cross-device link
5819	No such device
5920	Not a directory
6021	Is a directory
6122	Invalid argument
6223	File table overflow
6324	Too many open files
6425	Inappropriate ioctl for device
6526	Text file busy
6627	File too large
6728	No space left on device
6829	Illegal seek
6930	Read-only file system
7031	Too many links
7132	Broken pipe
7233	Argument out of domain
7334	Result too large
7435	No message of desired type
7536	Identifier removed
7637	Channel number out of range
7738	Level 2 not synchronized
7839	Level 3 halted
7940	Level 3 reset
8041	Link number out of range
8142	Protocol driver not attached
8243	No CSI structure available
8344	Level 2 halted
8445	Deadlock situation detected/avoided
8546	No record locks available
8647	Operation canceled
8748	Operation not supported
8849	Disc quota exceeded
8950	Bad exchange descriptor
9051	Bad request descriptor
9152	Message tables full
9253	Anode table overflow
9354	Bad request code
9455	Invalid slot
9556	File locking deadlock
9657	Bad font file format
9758	Owner of the lock died
9859	Lock is not recoverable
9960	Not a stream device
10061	No data available
10162	Timer expired
10263	Out of stream resources
10364	Machine is not on the network
10465	Package not installed
10566	Object is remote
10667	Link has been severed
10768	Advertise error
10869	Srmount error
10970	Communication error on send
11071	Protocol error
11172	Locked lock was unmapped
11273	Facility is not active
11374	Multihop attempted
11477	Not a data message
11578	File name too long
11679	Value too large for defined data type
11780	Name not unique on network
11881	File descriptor in bad state
11982	Remote address changed
12083	Can not access a needed shared library
12184	Accessing a corrupted shared library
12285	.lib section in a.out corrupted
12386	Attempting to link in more shared libraries than system limit
12487	Can not exec a shared library directly
12588	Illegal byte sequence
12689	Operation not applicable
12790	Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
12893	Directory not empty
12994	Too many users
13095	Socket operation on non-socket
13196	Destination address required
13297	Message too long
13398	Protocol wrong type for socket
13499	Option not supported by protocol
135120	Protocol not supported
136121	Socket type not supported
137122	Operation not supported on transport endpoint
138123	Protocol family not supported
139124	Address family not supported by protocol family
140125	Address already in use
141126	Cannot assign requested address
142127	Network is down
143128	Network is unreachable
144129	Network dropped connection because of reset
145130	Software caused connection abort
146131	Connection reset by peer
147132	No buffer space available
148133	Transport endpoint is already connected
149134	Transport endpoint is not connected
150135	Structure needs cleaning
151137	Not a name file
152138	Not available
153139	Is a name file
154140	Remote I/O error
155141	Reserved for future use
156142
157143	Cannot send after socket shutdown
158144	Too many references: cannot splice
159145	Connection timed out
160146	Connection refused
161147	Host is down
162148	No route to host
163149	Operation already in progress
164150	Operation now in progress
165151	Stale NFS file handle
166