home *** CD-ROM | disk | FTP | other *** search
- /* perror(s) print the current error message. */
-
- char *sys_errlist[] = {
- "Error 0 ",
- "Operation not permitted",
- "No such file or directory",
- "No such process",
- "Interrupted system call",
- "I/O error",
- "No such device or address",
- "Arg list too long",
- "Exec format error",
- "Bad file number",
- "No children",
- "No more processes",
- "Not enough core",
- "Permission denied",
- "Bad address",
- "Block device required",
- "Mount device busy",
- "File exists",
- "Cross-device link",
- "No such device",
- "Not a directory",
- "Is a directory",
- "Invalid argument",
- "File table overflow",
- "Too many open files",
- "Not a typewriter",
- "Text file busy",
- "File too large",
- "No space left on device",
- #define ESPIPE 29
- "Illegal seek",
- "Read-only file system",
- "Too many links",
-
- "Broken pipe",
- "Math argument",
- "Result too large",
- "EUCLEAN",
- "No message of desired type",
- "Resource deadlock would occur"
- "Unknown error"
- };
-
- int sys_nerr = sizeof(sys_errlist)/sizeof(char *) - 1;
-