This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
33
libsrc/common/errormsg.c
Normal file
33
libsrc/common/errormsg.c
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* errormsg.c
|
||||
*
|
||||
* Ullrich von Bassewitz, 17.05.2000
|
||||
*
|
||||
* Must be a C function, since we have otherwise problems with the different
|
||||
* character sets.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* Place the following data into the readonly data segment */
|
||||
#pragma dataseg ("RODATA")
|
||||
|
||||
const char* _sys_errlist[] = {
|
||||
"Unknown error", /* 0 */
|
||||
"No such file or directory", /* 1 */
|
||||
"Out of memory", /* 2 */
|
||||
"Permission denied", /* 3 */
|
||||
"No such device", /* 4 */
|
||||
"Too many open files", /* 5 */
|
||||
"Device or resource busy", /* 6 */
|
||||
"Invalid argument", /* 7 */
|
||||
"No space left on device", /* 8 */
|
||||
"File exists", /* 9 */
|
||||
"Try again", /* 10 */
|
||||
"I/O error", /* 11 */
|
||||
"Interrupted system call", /* 12 */
|
||||
"Function not implemented", /* 13 */
|
||||
"Illegal seek", /* 14 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user