| 1 | char *sys_errlist[] = | 
|---|
| 2 | { | 
|---|
| 3 | "Success", | 
|---|
| 4 | "Operation not permitted", | 
|---|
| 5 | "No such file or directory", | 
|---|
| 6 | "No such process", | 
|---|
| 7 | "Interrupted system call", | 
|---|
| 8 | "I/O error", | 
|---|
| 9 | "No such device or address", | 
|---|
| 10 | "Arg list too long", | 
|---|
| 11 | "Exec format error", | 
|---|
| 12 | "Bad file number", | 
|---|
| 13 | "No child processes",         /* 10 */ | 
|---|
| 14 | "Try again", | 
|---|
| 15 | "Out of memory", | 
|---|
| 16 | "Permission denied", | 
|---|
| 17 | "Bad address", | 
|---|
| 18 | "Block device required", | 
|---|
| 19 | "Device or resource busy", | 
|---|
| 20 | "File exists", | 
|---|
| 21 | "Cross-device link", | 
|---|
| 22 | "No such device", | 
|---|
| 23 | "Not a directory",            /* 20 */ | 
|---|
| 24 | "Is a directory", | 
|---|
| 25 | "Invalid argument", | 
|---|
| 26 | "File table overflow", | 
|---|
| 27 | "Too many open files", | 
|---|
| 28 | "Not a typewriter", | 
|---|
| 29 | "Text file busy", | 
|---|
| 30 | "File too large", | 
|---|
| 31 | "No space left on device", | 
|---|
| 32 | "Illegal seek", | 
|---|
| 33 | "Read-only file system",      /* 30 */ | 
|---|
| 34 | "Too many links", | 
|---|
| 35 | "Broken pipe", | 
|---|
| 36 | "Math argument out of domain of func", | 
|---|
| 37 | "Math result not representable", | 
|---|
| 38 | "Resource deadlock would occur", | 
|---|
| 39 | "File name too long", | 
|---|
| 40 | "No record locks available", | 
|---|
| 41 | "Function not implemented", | 
|---|
| 42 | "Directory not empty", | 
|---|
| 43 | "Too many symbolic links encountered", /* 40 */ | 
|---|
| 44 | "Operation would block", | 
|---|
| 45 | "No message of desired type", | 
|---|
| 46 | "Identifier removed", | 
|---|
| 47 | "Channel number out of range", | 
|---|
| 48 | "Level 2 not synchronized", | 
|---|
| 49 | "Level 3 halted", | 
|---|
| 50 | "Level 3 reset", | 
|---|
| 51 | "Link number out of range", | 
|---|
| 52 | "Protocol driver not attached", | 
|---|
| 53 | "No CSI structure available", /* 50 */ | 
|---|
| 54 | "Level 2 halted", | 
|---|
| 55 | "Invalid exchange", | 
|---|
| 56 | "Invalid request descriptor", | 
|---|
| 57 | "Exchange full", | 
|---|
| 58 | "No anode", | 
|---|
| 59 | "Invalid request code", | 
|---|
| 60 | "Invalid slot", | 
|---|
| 61 | "File locking deadlock error", | 
|---|
| 62 | "Bad font file format", | 
|---|
| 63 | "Device not a stream",        /* 60 */ | 
|---|
| 64 | "No data available", | 
|---|
| 65 | "Timer expired", | 
|---|
| 66 | "Out of streams resources", | 
|---|
| 67 | "Machine is not on the network", | 
|---|
| 68 | "Package not installed", | 
|---|
| 69 | "Object is remote", | 
|---|
| 70 | "Link has been severed", | 
|---|
| 71 | "Advertise error", | 
|---|
| 72 | "Srmount error", | 
|---|
| 73 | "Communication error on send", /* 70 */ | 
|---|
| 74 | "Protocol error", | 
|---|
| 75 | "Multihop attempted", | 
|---|
| 76 | "RFS specific error", | 
|---|
| 77 | "Not a data message", | 
|---|
| 78 | "Value too large for defined data type", | 
|---|
| 79 | "Name not unique on network", | 
|---|
| 80 | "File descriptor in bad state", | 
|---|
| 81 | "Remote address changed", | 
|---|
| 82 | "Can not access a needed shared library", | 
|---|
| 83 | "Accessing a corrupted shared library", /* 80 */ | 
|---|
| 84 | ".lib section in a.out corrupted", | 
|---|
| 85 | "Attempting to link in too many shared libraries", | 
|---|
| 86 | "Cannot exec a shared library directly", | 
|---|
| 87 | "Illegal byte sequence", | 
|---|
| 88 | "Interrupted system call should be restarted", | 
|---|
| 89 | "Streams pipe error", | 
|---|
| 90 | "Too many users", | 
|---|
| 91 | "Socket operation on non-socket", | 
|---|
| 92 | "Destination address required", | 
|---|
| 93 | "Message too long",           /* 90 */ | 
|---|
| 94 | "Protocol wrong type for socket", | 
|---|
| 95 | "Protocol not available", | 
|---|
| 96 | "Protocol not supported", | 
|---|
| 97 | "Socket type not supported", | 
|---|
| 98 | "Operation not supported on transport endpoint", | 
|---|
| 99 | "Protocol family not supported", | 
|---|
| 100 | "Address family not supported by protocol", | 
|---|
| 101 | "Address already in use", | 
|---|
| 102 | "Cannot assign requested address", | 
|---|
| 103 | "Network is down",            /* 100 */ | 
|---|
| 104 | "Network is unreachable", | 
|---|
| 105 | "Network dropped connection because of reset", | 
|---|
| 106 | "Software caused connection abort", | 
|---|
| 107 | "Connection reset by peer", | 
|---|
| 108 | "No buffer space available", | 
|---|
| 109 | "Transport endpoint is already connected", | 
|---|
| 110 | "Transport endpoint is not connected", | 
|---|
| 111 | "Cannot send after transport endpoint shutdown", | 
|---|
| 112 | "Too many references: cannot splice", | 
|---|
| 113 | "Connection timed out",       /* 110 */ | 
|---|
| 114 | "Connection refused", | 
|---|
| 115 | "Host is down", | 
|---|
| 116 | "No route to host", | 
|---|
| 117 | "Operation already in progress", | 
|---|
| 118 | "Operation now in progress", | 
|---|
| 119 | "Stale NFS file handle", | 
|---|
| 120 | "Structure needs cleaning", | 
|---|
| 121 | "Not a XENIX named type file", | 
|---|
| 122 | "No XENIX semaphores available", | 
|---|
| 123 | "Is a named type file",       /* 120 */ | 
|---|
| 124 | "Remote I/O error", | 
|---|
| 125 | "Quota exceeded", | 
|---|
| 126 | "Unknown error", | 
|---|
| 127 | "Bad block", | 
|---|
| 128 | "End of Directory", | 
|---|
| 129 | "Asked service is not supported", | 
|---|
| 130 | "Required key not available", | 
|---|
| 131 | "Key has expired", | 
|---|
| 132 | "Key has been revoked", | 
|---|
| 133 | "Key was rejected by service", /* 130 */ | 
|---|
| 134 | "No medium found", | 
|---|
| 135 | "Wrong medium type", | 
|---|
| 136 | "Operation Canceled" | 
|---|
| 137 | }; | 
|---|
| 138 |  | 
|---|