home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / sas_unix_lib.lha / unix / src / error_msg.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-21  |  1.1 KB  |  49 lines

  1. #include "amiga.h"
  2.  
  3. /* Gross hack because EOSERR is -1. */
  4. static char *sys_amiga_error = "amiga specific error";
  5. char *sys_errlist[] =
  6.   {
  7.     "error 0",
  8.     "not owner",
  9.     "no such file or directory",
  10.     "no such process",
  11.     "interrupted system call",
  12.     "i/o error",
  13.     "no such device or address",
  14.     "argument list too long",
  15.     "exec format error",
  16.     "bad file number",
  17.     "no child process",
  18.     "no more processes",
  19.     "not enough memory",
  20.     "permission denied",
  21.     "bad address",
  22.     "block device required",
  23.     "mount devices busy",
  24.     "file exists",
  25.     "cross-device link",
  26.     "no such device",
  27.     "not a directory",
  28.     "is a directory",
  29.     "invalid argument",
  30.     "file table overflow",
  31.     "too many open files",
  32.     "not a typewriter",
  33.     "text file busy",
  34.     "file too big",
  35.     "no space left on device",
  36.     "illegal seek",
  37.     "read-only file system",
  38.     "too many links",
  39.     "broken pipe",
  40.     "math argument",
  41.     "result too large",
  42.     "I/O stream empty",
  43.     "file name too long",
  44.     "directory not empty",
  45.     "too many soft links (loop?)"
  46. };
  47.  
  48. int sys_nerr = sizeof(sys_errlist) / sizeof(char *);
  49.