usr/src/lib/libc/port/gen/errlist
changeset 0 68f95e015346
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/lib/libc/port/gen/errlist	Tue Jun 14 00:00:00 2005 -0700
@@ -0,0 +1,165 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License").  You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.10	*/
+
+/*
+ * WARNING!
+ *	  Do NOT add entries to this list such that it grows the list
+ *	  beyond the last entry:
+ *		151	Stale NFS file handle
+ *	  Growing this list may damage programs because this array is
+ *	  copied into a reserved array at runtime.  See bug 4097669.
+ *
+ *	  If you need to add an entry please use one of the empty
+ *	  slots.
+ *	  The arrays _sys_errs[], accessible via perror(3C) and strerror(3C)
+ *	  interfaces, and sys_errlist[] are created from this list.
+ *	  It is the direct referencing of sys_errlist[] that is the problem.
+ *	  Your code should only use perror() or strerror().
+ */
+
+1	Not owner
+2	No such file or directory
+3	No such process
+4	Interrupted system call
+5	I/O error
+6	No such device or address
+7	Arg list too long
+8	Exec format error
+9	Bad file number
+10	No child processes
+11	Resource temporarily unavailable
+12	Not enough space
+13	Permission denied
+14	Bad address
+15	Block device required
+16	Device busy
+17	File exists
+18	Cross-device link
+19	No such device
+20	Not a directory
+21	Is a directory
+22	Invalid argument
+23	File table overflow
+24	Too many open files
+25	Inappropriate ioctl for device
+26	Text file busy
+27	File too large
+28	No space left on device
+29	Illegal seek
+30	Read-only file system
+31	Too many links
+32	Broken pipe
+33	Argument out of domain
+34	Result too large
+35	No message of desired type
+36	Identifier removed
+37	Channel number out of range
+38	Level 2 not synchronized
+39	Level 3 halted
+40	Level 3 reset
+41	Link number out of range
+42	Protocol driver not attached
+43	No CSI structure available
+44	Level 2 halted
+45	Deadlock situation detected/avoided
+46	No record locks available
+47	Operation canceled
+48	Operation not supported
+49	Disc quota exceeded
+50	Bad exchange descriptor
+51	Bad request descriptor
+52	Message tables full
+53	Anode table overflow
+54	Bad request code
+55	Invalid slot
+56	File locking deadlock
+57	Bad font file format
+58	Owner of the lock died
+59	Lock is not recoverable
+60	Not a stream device
+61	No data available
+62	Timer expired
+63	Out of stream resources
+64	Machine is not on the network
+65	Package not installed
+66	Object is remote
+67	Link has been severed
+68	Advertise error
+69	Srmount error
+70	Communication error on send
+71	Protocol error
+72	Locked lock was unmapped 
+73	Facility is not active
+74	Multihop attempted
+77	Not a data message
+78	File name too long
+79	Value too large for defined data type
+80	Name not unique on network
+81	File descriptor in bad state
+82	Remote address changed
+83	Can not access a needed shared library
+84	Accessing a corrupted shared library
+85	.lib section in a.out corrupted
+86	Attempting to link in more shared libraries than system limit
+87	Can not exec a shared library directly
+88	Illegal byte sequence
+89	Operation not applicable
+90	Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
+93	Directory not empty
+94	Too many users
+95	Socket operation on non-socket
+96	Destination address required
+97	Message too long
+98	Protocol wrong type for socket
+99	Option not supported by protocol
+120	Protocol not supported
+121	Socket type not supported
+122	Operation not supported on transport endpoint
+123	Protocol family not supported
+124	Address family not supported by protocol family
+125	Address already in use
+126	Cannot assign requested address
+127	Network is down
+128	Network is unreachable
+129	Network dropped connection because of reset
+130	Software caused connection abort
+131	Connection reset by peer
+132	No buffer space available
+133	Transport endpoint is already connected
+134	Transport endpoint is not connected
+135	Structure needs cleaning
+137	Not a name file
+138	Not available
+139	Is a name file
+140	Remote I/O error
+141	Reserved for future use
+142
+143	Cannot send after socket shutdown
+144	Too many references: cannot splice
+145	Connection timed out
+146	Connection refused
+147	Host is down
+148	No route to host
+149	Operation already in progress
+150	Operation now in progress
+151	Stale NFS file handle