home *** CD-ROM | disk | FTP | other *** search
- #include "amiga.h"
-
- /* Gross hack because EOSERR is -1. */
- static char *sys_amiga_error = "amiga specific error";
- char *sys_errlist[] =
- {
- "error 0",
- "not owner",
- "no such file or directory",
- "no such process",
- "interrupted system call",
- "i/o error",
- "no such device or address",
- "argument list too long",
- "exec format error",
- "bad file number",
- "no child process",
- "no more processes",
- "not enough memory",
- "permission denied",
- "bad address",
- "block device required",
- "mount devices 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 big",
- "no space left on device",
- "illegal seek",
- "read-only file system",
- "too many links",
- "broken pipe",
- "math argument",
- "result too large",
- "I/O stream empty",
- "file name too long",
- "directory not empty",
- "too many soft links (loop?)"
- };
-
- int sys_nerr = sizeof(sys_errlist) / sizeof(char *);
-