1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

New error code ERANGE

git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-12 13:48:45 +00:00
parent ad569c8f2f
commit 20e805a124
3 changed files with 10 additions and 7 deletions

View File

@ -21,7 +21,8 @@ EIO = 11 ; I/O error
EINTR = 12 ; Interrupted system call
ENOSYS = 13 ; Function not implemented
ESPIPE = 14 ; Illegal seek
EUNKNOWN = 15 ; Unknown OS specific error - must be last!
ERANGE = 15 ; Range error
EUNKNOWN = 16 ; Unknown OS specific error - must be last!
EMAX = 15 ; Highest error code
EMAX = 16 ; Highest error code

View File

@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 1998-2000 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
/* (C) 1998-2003 Ullrich von Bassewitz */
/* Römerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@ -70,7 +70,8 @@ extern int _errno;
#define EINTR 12 /* Interrupted system call */
#define ENOSYS 13 /* Function not implemented */
#define ESPIPE 14 /* Illegal seek */
#define EUNKNOWN 15 /* Unknown OS specific error */
#define ERANGE 15 /* Range error */
#define EUNKNOWN 16 /* Unknown OS specific error */

View File

@ -25,6 +25,7 @@ const char* const _sys_errlist[] = {
"Interrupted system call", /* 12 */
"Function not implemented", /* 13 */
"Illegal seek", /* 14 */
"Range error", /* 15 */
};