X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fcommon%2Ferrormsg.c;h=d73ca652c30521c8a82ec2cf93df44693f933b54;hb=934a78731fe1b7fc8d08814fa2321534c20fbc62;hp=d52daeaae627cd351b04913e0b0678dbd3f37245;hpb=2f65b8f5c6b4244295a7f1dc8723092e3fd48f0c;p=cc65 diff --git a/libsrc/common/errormsg.c b/libsrc/common/errormsg.c index d52daeaae..d73ca652c 100644 --- a/libsrc/common/errormsg.c +++ b/libsrc/common/errormsg.c @@ -10,21 +10,24 @@ const char* const _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 */ + "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 */ };