home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / LATTIC_3.LZH / SRC / OSERR.C < prev    next >
Text File  |  1990-01-10  |  2KB  |  82 lines

  1. /**
  2. *
  3. *        Copyright 1988 by Lattice, Inc.
  4. *
  5. * This module defines the error messages corresponding to the codes that
  6. * can appear in _OSERR.  
  7. *
  8. */
  9.  
  10. int os_nerr = 67;    /* Highest valid error number */
  11.  
  12. char *os_errlist[] = {    
  13.             "Unknown error code",
  14. /* 01 */        "General failure",
  15. /* 02 */        "Drive not ready",
  16. /* 03 */        "Unknown command",
  17. /* 04 */        "Data error",
  18. /* 05 */        "Bad request structure length",
  19. /* 06 */        "Seek error",
  20. /* 07 */        "Unknown media type",
  21. /* 08 */        "Sector not found",
  22. /* 09 */        "Printer paper alarm",
  23. /* 10 */        "Write fault",
  24. /* 11 */        "Read fault",
  25. /* 12 */        "Error 12",
  26. /* 13 */        "Can't write on protected device",
  27. /* 14 */        "Invalid disk change",
  28. /* 15 */        "Unknown unit",
  29. /* 16 */        "Bad sectors on format",
  30. /* 17 */        "Insert other disk",
  31. /* 18 */        "Error 18",
  32. /* 19 */        "Error 19",
  33. /* 20 */        "Error 20",
  34. /* 21 */        "Error 21",
  35. /* 22 */        "Error 22",
  36. /* 23 */        "Error 23",
  37. /* 24 */        "Error 24",
  38. /* 25 */        "Error 25",
  39. /* 26 */        "Error 26",
  40. /* 27 */        "Error 27",
  41. /* 28 */        "Error 28",
  42. /* 29 */        "Error 29",
  43. /* 30 */        "Error 30",
  44. /* 31 */        "Error 31",
  45. /* 32 */        "Invalid function number",
  46. /* 33 */        "File not found",
  47. /* 34 */        "Path not found",
  48. /* 35 */        "Too many files opened",
  49. /* 36 */        "Access denied",
  50. /* 37 */        "Invalid handle",
  51. /* 38 */        "Error 38",
  52. /* 39 */        "Insufficient memory",
  53. /* 40 */        "Invalid memory block address",
  54. /* 41 */        "Error 41",
  55. /* 42 */        "Error 42",
  56. /* 43 */        "Error 43",
  57. /* 44 */        "Error 44",
  58. /* 45 */        "Error 45",
  59. /* 46 */        "Invalid drive code",
  60. /* 47 */        "Error 47",
  61. /* 48 */        "Not same device",
  62. /* 49 */        "No more files",
  63. /* 50 */        "Error 50",
  64. /* 51 */        "Error 51",
  65. /* 52 */        "Error 52",
  66. /* 53 */        "Error 53",
  67. /* 54 */        "Error 54",
  68. /* 55 */        "Error 55",
  69. /* 56 */        "Error 56",
  70. /* 57 */        "Error 57",
  71. /* 58 */        "Error 58",
  72. /* 59 */        "Error 59",
  73. /* 60 */        "Error 60",
  74. /* 61 */        "Error 61",
  75. /* 62 */        "Error 62",
  76. /* 63 */        "Error 63",
  77. /* 64 */        "Range error",
  78. /* 65 */        "GEMDOS internal error",
  79. /* 66 */        "Invalid program load format",
  80. /* 67 */        "Memory growth failure",
  81. };
  82.