_string_syserrmsgs.c 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /*
  2. * Copyright (C) 2002 Manuel Novoa III
  3. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <features.h>
  8. #ifdef __UCLIBC_HAS_ERRNO_MESSAGES__
  9. const char _string_syserrmsgs[] = {
  10. /* 0: 0, 8 */ "Success\0"
  11. /* 1: 8, 24 */ "Operation not permitted\0"
  12. /* 2: 32, 26 */ "No such file or directory\0"
  13. /* 3: 58, 16 */ "No such process\0"
  14. /* 4: 74, 24 */ "Interrupted system call\0"
  15. /* 5: 98, 19 */ "Input/output error\0"
  16. /* 6: 117, 26 */ "No such device or address\0"
  17. /* 7: 143, 23 */ "Argument list too long\0"
  18. /* 8: 166, 18 */ "Exec format error\0"
  19. /* 9: 184, 20 */ "Bad file descriptor\0"
  20. /* 10: 204, 19 */ "No child processes\0"
  21. /* 11: 223, 33 */ "Resource temporarily unavailable\0"
  22. /* 12: 256, 23 */ "Cannot allocate memory\0"
  23. /* 13: 279, 18 */ "Permission denied\0"
  24. /* 14: 297, 12 */ "Bad address\0"
  25. /* 15: 309, 22 */ "Block device required\0"
  26. /* 16: 331, 24 */ "Device or resource busy\0"
  27. /* 17: 355, 12 */ "File exists\0"
  28. /* 18: 367, 26 */ "Invalid cross-device link\0"
  29. /* 19: 393, 15 */ "No such device\0"
  30. /* 20: 408, 16 */ "Not a directory\0"
  31. /* 21: 424, 15 */ "Is a directory\0"
  32. /* 22: 439, 17 */ "Invalid argument\0"
  33. /* 23: 456, 30 */ "Too many open files in system\0"
  34. /* 24: 486, 20 */ "Too many open files\0"
  35. /* 25: 506, 31 */ "Inappropriate ioctl for device\0"
  36. /* 26: 537, 15 */ "Text file busy\0"
  37. /* 27: 552, 15 */ "File too large\0"
  38. /* 28: 567, 24 */ "No space left on device\0"
  39. /* 29: 591, 13 */ "Illegal seek\0"
  40. /* 30: 604, 22 */ "Read-only file system\0"
  41. /* 31: 626, 15 */ "Too many links\0"
  42. /* 32: 641, 12 */ "Broken pipe\0"
  43. /* 33: 653, 33 */ "Numerical argument out of domain\0"
  44. /* 34: 686, 30 */ "Numerical result out of range\0"
  45. /* 35: 716, 26 */ "Resource deadlock avoided\0"
  46. /* 36: 742, 19 */ "File name too long\0"
  47. /* 37: 761, 19 */ "No locks available\0"
  48. /* 38: 780, 25 */ "Function not implemented\0"
  49. /* 39: 805, 20 */ "Directory not empty\0"
  50. /* 40: 825, 34 */ "Too many levels of symbolic links\0"
  51. /* 41: 859, 1 */ "\0"
  52. /* 42: 860, 27 */ "No message of desired type\0"
  53. /* 43: 887, 19 */ "Identifier removed\0"
  54. /* 44: 906, 28 */ "Channel number out of range\0"
  55. /* 45: 934, 25 */ "Level 2 not synchronized\0"
  56. /* 46: 959, 15 */ "Level 3 halted\0"
  57. /* 47: 974, 14 */ "Level 3 reset\0"
  58. /* 48: 988, 25 */ "Link number out of range\0"
  59. /* 49: 1013, 29 */ "Protocol driver not attached\0"
  60. /* 50: 1042, 27 */ "No CSI structure available\0"
  61. /* 51: 1069, 15 */ "Level 2 halted\0"
  62. /* 52: 1084, 17 */ "Invalid exchange\0"
  63. /* 53: 1101, 27 */ "Invalid request descriptor\0"
  64. /* 54: 1128, 14 */ "Exchange full\0"
  65. /* 55: 1142, 9 */ "No anode\0"
  66. /* 56: 1151, 21 */ "Invalid request code\0"
  67. /* 57: 1172, 13 */ "Invalid slot\0"
  68. /* 58: 1185, 1 */ "\0"
  69. /* 59: 1186, 21 */ "Bad font file format\0"
  70. /* 60: 1207, 20 */ "Device not a stream\0"
  71. /* 61: 1227, 18 */ "No data available\0"
  72. /* 62: 1245, 14 */ "Timer expired\0"
  73. /* 63: 1259, 25 */ "Out of streams resources\0"
  74. /* 64: 1284, 30 */ "Machine is not on the network\0"
  75. /* 65: 1314, 22 */ "Package not installed\0"
  76. /* 66: 1336, 17 */ "Object is remote\0"
  77. /* 67: 1353, 22 */ "Link has been severed\0"
  78. /* 68: 1375, 16 */ "Advertise error\0"
  79. /* 69: 1391, 14 */ "Srmount error\0"
  80. /* 70: 1405, 28 */ "Communication error on send\0"
  81. /* 71: 1433, 15 */ "Protocol error\0"
  82. /* 72: 1448, 19 */ "Multihop attempted\0"
  83. /* 73: 1467, 19 */ "RFS specific error\0"
  84. /* 74: 1486, 12 */ "Bad message\0"
  85. /* 75: 1498, 38 */ "Value too large for defined data type\0"
  86. /* 76: 1536, 27 */ "Name not unique on network\0"
  87. /* 77: 1563, 29 */ "File descriptor in bad state\0"
  88. /* 78: 1592, 23 */ "Remote address changed\0"
  89. /* 79: 1615, 39 */ "Can not access a needed shared library\0"
  90. /* 80: 1654, 37 */ "Accessing a corrupted shared library\0"
  91. /* 81: 1691, 32 */ ".lib section in a.out corrupted\0"
  92. /* 82: 1723, 48 */ "Attempting to link in too many shared libraries\0"
  93. /* 83: 1771, 38 */ "Cannot exec a shared library directly\0"
  94. /* 84: 1809, 50 */ "Invalid or incomplete multibyte or wide character\0"
  95. /* 85: 1859, 44 */ "Interrupted system call should be restarted\0"
  96. /* 86: 1903, 19 */ "Streams pipe error\0"
  97. /* 87: 1922, 15 */ "Too many users\0"
  98. /* 88: 1937, 31 */ "Socket operation on non-socket\0"
  99. /* 89: 1968, 29 */ "Destination address required\0"
  100. /* 90: 1997, 17 */ "Message too long\0"
  101. /* 91: 2014, 31 */ "Protocol wrong type for socket\0"
  102. /* 92: 2045, 23 */ "Protocol not available\0"
  103. /* 93: 2068, 23 */ "Protocol not supported\0"
  104. /* 94: 2091, 26 */ "Socket type not supported\0"
  105. /* 95: 2117, 24 */ "Operation not supported\0"
  106. /* 96: 2141, 30 */ "Protocol family not supported\0"
  107. /* 97: 2171, 41 */ "Address family not supported by protocol\0"
  108. /* 98: 2212, 23 */ "Address already in use\0"
  109. /* 99: 2235, 32 */ "Cannot assign requested address\0"
  110. /* 100: 2267, 16 */ "Network is down\0"
  111. /* 101: 2283, 23 */ "Network is unreachable\0"
  112. /* 102: 2306, 36 */ "Network dropped connection on reset\0"
  113. /* 103: 2342, 33 */ "Software caused connection abort\0"
  114. /* 104: 2375, 25 */ "Connection reset by peer\0"
  115. /* 105: 2400, 26 */ "No buffer space available\0"
  116. /* 106: 2426, 40 */ "Transport endpoint is already connected\0"
  117. /* 107: 2466, 36 */ "Transport endpoint is not connected\0"
  118. /* 108: 2502, 46 */ "Cannot send after transport endpoint shutdown\0"
  119. /* 109: 2548, 35 */ "Too many references: cannot splice\0"
  120. /* 110: 2583, 21 */ "Connection timed out\0"
  121. /* 111: 2604, 19 */ "Connection refused\0"
  122. /* 112: 2623, 13 */ "Host is down\0"
  123. /* 113: 2636, 17 */ "No route to host\0"
  124. /* 114: 2653, 30 */ "Operation already in progress\0"
  125. /* 115: 2683, 26 */ "Operation now in progress\0"
  126. /* 116: 2709, 22 */ "Stale NFS file handle\0"
  127. /* 117: 2731, 25 */ "Structure needs cleaning\0"
  128. /* 118: 2756, 28 */ "Not a XENIX named type file\0"
  129. /* 119: 2784, 30 */ "No XENIX semaphores available\0"
  130. /* 120: 2814, 21 */ "Is a named type file\0"
  131. /* 121: 2835, 17 */ "Remote I/O error\0"
  132. /* 122: 2852, 20 */ "Disk quota exceeded\0"
  133. /* 123: 2872, 16 */ "No medium found\0"
  134. /* 124: 2888, 18 */ "Wrong medium type"
  135. #if defined(__mips__) || defined(__sparc__)
  136. "\0"
  137. /* 125: 2906, 28 */ "File locking deadlock error"
  138. #endif
  139. /* Note: for mips we are ignoring ECANCELED since glibc doesn't have a
  140. * corresponsding message.*/
  141. };
  142. #endif