4 * Ullrich von Bassewitz, 17.05.2000
6 * Must be a C function, since we have otherwise problems with the different
12 const char* const _sys_errlist[] = {
13 "Unknown error", /* 0 */
14 "No such file or directory", /* ENOENT */
15 "Out of memory", /* ENOMEM */
16 "Permission denied", /* EACCES */
17 "No such device", /* ENODEV */
18 "Too many open files", /* EMFILE */
19 "Device or resource busy", /* EBUSY */
20 "Invalid argument", /* EINVAL */
21 "No space left on device", /* ENOSPC */
22 "File exists", /* EEXIST */
23 "Try again", /* EAGAIN */
24 "I/O error", /* EIO */
25 "Interrupted system call", /* EINTR */
26 "Function not implemented", /* ENOSYS */
27 "Illegal seek", /* ESPIPE */
28 "Range error", /* ERANGE */
29 "Bad file number", /* EBADF */
30 "Unknown OS error code", /* EUNKNOWN */