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 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. 30 * 31 * If you need to add an entry please use one of the empty 32 * slots. 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(). 37 * 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(). 43 */ 44 451 EPERM Not owner 462 ENOENT No such file or directory 473 ESRCH No such process 484 EINTR Interrupted system call 495 EIO I/O error 506 ENXIO No such device or address 517 E2BIG Arg list too long 528 ENOEXEC Exec format error 539 EBADF Bad file number 5410 ECHILD No child processes 5511 EAGAIN Resource temporarily unavailable 5612 ENOMEM Not enough space 5713 EACCES Permission denied 5814 EFAULT Bad address 5915 ENOTBLK Block device required 6016 EBUSY Device busy 6117 EEXIST File exists 6218 EXDEV Cross-device link 6319 ENODEV No such device 6420 ENOTDIR Not a directory 6521 EISDIR Is a directory 6622 EINVAL Invalid argument 6723 ENFILE File table overflow 6824 EMFILE Too many open files 6925 ENOTTY Inappropriate ioctl for device 7026 ETXTBSY Text file busy 7127 EFBIG File too large 7228 ENOSPC No space left on device 7329 ESPIPE Illegal seek 7430 EROFS Read-only file system 7531 EMLINK Too many links 7632 EPIPE Broken pipe 7733 EDOM Argument out of domain 7834 ERANGE Result too large 7935 ENOMSG No message of desired type 8036 EIDRM Identifier removed 8137 ECHRNG Channel number out of range 8238 EL2NSYNC Level 2 not synchronized 8339 EL3HLT Level 3 halted 8440 EL3RST Level 3 reset 8541 ELNRNG Link number out of range 8642 EUNATCH Protocol driver not attached 8743 ENOCSI No CSI structure available 8844 EL2HLT Level 2 halted 8945 EDEADLK Deadlock situation detected/avoided 9046 ENOLCK No record locks available 9147 ECANCELED Operation canceled 9248 ENOTSUP Operation not supported 9349 EDQUOT Disc quota exceeded 9450 EBADE Bad exchange descriptor 9551 EBADR Bad request descriptor 9652 EXFULL Message tables full 9753 ENOANO Anode table overflow 9854 EBADRQC Bad request code 9955 EBADSLT Invalid slot 10056 EDEADLOCK File locking deadlock 10157 EBFONT Bad font file format 10258 EOWNERDEAD Owner of the lock died 10359 ENOTRECOVERABLE Lock is not recoverable 10460 ENOSTR Not a stream device 10561 ENODATA No data available 10662 ETIME Timer expired 10763 ENOSR Out of stream resources 10864 ENONET Machine is not on the network 10965 ENOPKG Package not installed 11066 EREMOTE Object is remote 11167 ENOLINK Link has been severed 11268 EADV Advertise error 11369 ESRMNT Srmount error 11470 ECOMM Communication error on send 11571 EPROTO Protocol error 11672 ELOCKUNMAPPED Locked lock was unmapped 11773 ENOTACTIVE Facility is not active 11874 EMULTIHOP Multihop attempted 11977 EBADMSG Not a data message 12078 ENAMETOOLONG File name too long 12179 EOVERFLOW Value too large for defined data type 12280 ENOTUNIQ Name not unique on network 12381 EBADFD File descriptor in bad state 12482 EREMCHG Remote address changed 12583 ELIBACC Can not access a needed shared library 12684 ELIBBAD Accessing a corrupted shared library 12785 ELIBSCN .lib section in a.out corrupted 12886 ELIBMAX Attempting to link in more shared libraries than system limit 12987 ELIBEXEC Can not exec a shared library directly 13088 EILSEQ Illegal byte sequence 13189 ENOSYS Operation not applicable 13290 ELOOP Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS 13393 ENOTEMPTY Directory not empty 13494 EUSERS Too many users 13595 ENOTSOCK Socket operation on non-socket 13696 EDESTADDRREQ Destination address required 13797 EMSGSIZE Message too long 13898 EPROTOTYPE Protocol wrong type for socket 13999 ENOPROTOOPT Option not supported by protocol 140120 EPROTONOSUPPORT Protocol not supported 141121 ESOCKTNOSUPPORT Socket type not supported 142122 EOPNOTSUPP Operation not supported on transport endpoint 143123 EPFNOSUPPORT Protocol family not supported 144124 EAFNOSUPPORT Address family not supported by protocol family 145125 EADDRINUSE Address already in use 146126 EADDRNOTAVAIL Cannot assign requested address 147127 ENETDOWN Network is down 148128 ENETUNREACH Network is unreachable 149129 ENETRESET Network dropped connection because of reset 150130 ECONNABORTED Software caused connection abort 151131 ECONNRESET Connection reset by peer 152132 ENOBUFS No buffer space available 153133 EISCONN Transport endpoint is already connected 154134 ENOTCONN Transport endpoint is not connected 155135 SKIP Structure needs cleaning 156137 SKIP Not a name file 157138 SKIP Not available 158139 SKIP Is a name file 159140 SKIP Remote I/O error 160141 SKIP Reserved for future use 161142 162143 ESHUTDOWN Cannot send after socket shutdown 163144 ETOOMANYREFS Too many references: cannot splice 164145 ETIMEDOUT Connection timed out 165146 ECONNREFUSED Connection refused 166147 EHOSTDOWN Host is down 167148 EHOSTUNREACH No route to host 168149 EALREADY Operation already in progress 169150 EINPROGRESS Operation now in progress 170151 ESTALE Stale NFS file handle 171