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 40 1 Not owner 41 2 No such file or directory 42 3 No such process 43 4 Interrupted system call 44 5 I/O error 45 6 No such device or address 46 7 Arg list too long 47 8 Exec format error 48 9 Bad file number 49 10 No child processes 50 11 Resource temporarily unavailable 51 12 Not enough space 52 13 Permission denied 53 14 Bad address 54 15 Block device required 55 16 Device busy 56 17 File exists 57 18 Cross-device link 58 19 No such device 59 20 Not a directory 60 21 Is a directory 61 22 Invalid argument 62 23 File table overflow 63 24 Too many open files 64 25 Inappropriate ioctl for device 65 26 Text file busy 66 27 File too large 67 28 No space left on device 68 29 Illegal seek 69 30 Read-only file system 70 31 Too many links 71 32 Broken pipe 72 33 Argument out of domain 73 34 Result too large 74 35 No message of desired type 75 36 Identifier removed 76 37 Channel number out of range 77 38 Level 2 not synchronized 78 39 Level 3 halted 79 40 Level 3 reset 80 41 Link number out of range 81 42 Protocol driver not attached 82 43 No CSI structure available 83 44 Level 2 halted 84 45 Deadlock situation detected/avoided 85 46 No record locks available 86 47 Operation canceled 87 48 Operation not supported 88 49 Disc quota exceeded 89 50 Bad exchange descriptor 90 51 Bad request descriptor 91 52 Message tables full 92 53 Anode table overflow 93 54 Bad request code 94 55 Invalid slot 95 56 File locking deadlock 96 57 Bad font file format 97 58 Owner of the lock died 98 59 Lock is not recoverable 99 60 Not a stream device 100 61 No data available 101 62 Timer expired 102 63 Out of stream resources 103 64 Machine is not on the network 104 65 Package not installed 105 66 Object is remote 106 67 Link has been severed 107 68 Advertise error 108 69 Srmount error 109 70 Communication error on send 110 71 Protocol error 111 72 Locked lock was unmapped 112 73 Facility is not active 113 74 Multihop attempted 114 77 Not a data message 115 78 File name too long 116 79 Value too large for defined data type 117 80 Name not unique on network 118 81 File descriptor in bad state 119 82 Remote address changed 120 83 Can not access a needed shared library 121 84 Accessing a corrupted shared library 122 85 .lib section in a.out corrupted 123 86 Attempting to link in more shared libraries than system limit 124 87 Can not exec a shared library directly 125 88 Illegal byte sequence 126 89 Operation not applicable 127 90 Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS 128 93 Directory not empty 129 94 Too many users 130 95 Socket operation on non-socket 131 96 Destination address required 132 97 Message too long 133 98 Protocol wrong type for socket 134 99 Option not supported by protocol 135 120 Protocol not supported 136 121 Socket type not supported 137 122 Operation not supported on transport endpoint 138 123 Protocol family not supported 139 124 Address family not supported by protocol family 140 125 Address already in use 141 126 Cannot assign requested address 142 127 Network is down 143 128 Network is unreachable 144 129 Network dropped connection because of reset 145 130 Software caused connection abort 146 131 Connection reset by peer 147 132 No buffer space available 148 133 Transport endpoint is already connected 149 134 Transport endpoint is not connected 150 135 Structure needs cleaning 151 137 Not a name file 152 138 Not available 153 139 Is a name file 154 140 Remote I/O error 155 141 Reserved for future use 156 142 157 143 Cannot send after socket shutdown 158 144 Too many references: cannot splice 159 145 Connection timed out 160 146 Connection refused 161 147 Host is down 162 148 No route to host 163 149 Operation already in progress 164 150 Operation now in progress 165 151 Stale NFS file handle 166