mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Added messages for EBADF (new) and EUNKNOWN (missing).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4697 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d877aac5f4
commit
1dabfda734
@ -10,22 +10,24 @@
|
|||||||
|
|
||||||
|
|
||||||
const char* const _sys_errlist[] = {
|
const char* const _sys_errlist[] = {
|
||||||
"Unknown error", /* 0 */
|
"Unknown error", /* 0 */
|
||||||
"No such file or directory", /* 1 */
|
"No such file or directory", /* ENOENT */
|
||||||
"Out of memory", /* 2 */
|
"Out of memory", /* ENOMEM */
|
||||||
"Permission denied", /* 3 */
|
"Permission denied", /* EACCES */
|
||||||
"No such device", /* 4 */
|
"No such device", /* ENODEV */
|
||||||
"Too many open files", /* 5 */
|
"Too many open files", /* EMFILE */
|
||||||
"Device or resource busy", /* 6 */
|
"Device or resource busy", /* EBUSY */
|
||||||
"Invalid argument", /* 7 */
|
"Invalid argument", /* EINVAL */
|
||||||
"No space left on device", /* 8 */
|
"No space left on device", /* ENOSPC */
|
||||||
"File exists", /* 9 */
|
"File exists", /* EEXIST */
|
||||||
"Try again", /* 10 */
|
"Try again", /* EAGAIN */
|
||||||
"I/O error", /* 11 */
|
"I/O error", /* EIO */
|
||||||
"Interrupted system call", /* 12 */
|
"Interrupted system call", /* EINTR */
|
||||||
"Function not implemented", /* 13 */
|
"Function not implemented", /* ENOSYS */
|
||||||
"Illegal seek", /* 14 */
|
"Illegal seek", /* ESPIPE */
|
||||||
"Range error", /* 15 */
|
"Range error", /* ERANGE */
|
||||||
|
"Bad file number", /* EBADF */
|
||||||
|
"Unknown OS error code", /* EUNKNOWN */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user