2000-05-28 13:40:48 +00:00
|
|
|
/*
|
|
|
|
* errormsg.c
|
|
|
|
*
|
|
|
|
* Ullrich von Bassewitz, 17.05.2000
|
|
|
|
*
|
|
|
|
* Must be a C function, since we have otherwise problems with the different
|
|
|
|
* character sets.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-08-03 10:45:31 +00:00
|
|
|
const char* const _sys_errlist[] = {
|
2010-06-03 21:16:07 +00:00
|
|
|
"Unknown error", /* 0 */
|
|
|
|
"No such file or directory", /* ENOENT */
|
|
|
|
"Out of memory", /* ENOMEM */
|
|
|
|
"Permission denied", /* EACCES */
|
|
|
|
"No such device", /* ENODEV */
|
|
|
|
"Too many open files", /* EMFILE */
|
|
|
|
"Device or resource busy", /* EBUSY */
|
|
|
|
"Invalid argument", /* EINVAL */
|
|
|
|
"No space left on device", /* ENOSPC */
|
|
|
|
"File exists", /* EEXIST */
|
|
|
|
"Try again", /* EAGAIN */
|
|
|
|
"I/O error", /* EIO */
|
|
|
|
"Interrupted system call", /* EINTR */
|
|
|
|
"Function not implemented", /* ENOSYS */
|
|
|
|
"Illegal seek", /* ESPIPE */
|
|
|
|
"Range error", /* ERANGE */
|
|
|
|
"Bad file number", /* EBADF */
|
|
|
|
"Unknown OS error code", /* EUNKNOWN */
|
2000-05-28 13:40:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|