home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / source / _oserr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-24  |  1.5 KB  |  55 lines

  1. /***
  2. *
  3. *   This module defines the error messages corresponding to the codes that
  4. *   can appear in _OSERR.  
  5. *
  6. ***/
  7.  
  8. int __os_nerr = 232;      /* Highest valid error number */
  9.  
  10. struct {
  11.     short errnum;
  12.     char *msg;
  13. } __os_errlist[] = {      
  14.     103, "Insufficient free store",
  15.     105, "Task table full",
  16.     120, "argument line invalid or too long",
  17.     121, "File is not an object module",
  18.     122, "Invalid resident library during load",
  19.     201, "No default directory",
  20.     202, "Object in use",
  21.     203, "Object already exists",
  22.     204, "Directory not found",
  23.     205, "Object not found",
  24.     206, "Bad stream name",
  25.     207, "Object too large",
  26.     209, "Action not known",
  27.     210, "Invalid stream component name",
  28.     211, "Invalid lock",
  29.     212, "Object not of required type",
  30.     213, "Disk not validated",
  31.     214, "Disk write protected",
  32.     215, "Rename across devices attempted",
  33.     216, "Directory not empty",
  34.     217, "Too many levels",
  35.     218, "Device not mounted",
  36.     219, "Seek error",
  37.     220, "Comment too big",
  38.     221, "Disk full",
  39.     222, "File is protected from deletion",
  40.     223, "File is protected from writing",
  41.     224, "File is protected from reading",
  42.     225, "Not a DOS disk",
  43.     226, "No disk in drive",
  44.     232, "No more entries in directory",
  45.     233, "Is soft link",
  46.     234, "Object linked",
  47.     235, "Bad hunk",
  48.     236, "Not implemented",
  49.     240, "Record not locked",
  50.     241, "Lock collision",
  51.     242, "Lock timeout",
  52.     243, "Unlock error",
  53.     0,""
  54. };
  55.