mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +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:
parent
ad569c8f2f
commit
20e805a124
@ -21,7 +21,8 @@ EIO = 11 ; I/O error
|
|||||||
EINTR = 12 ; Interrupted system call
|
EINTR = 12 ; Interrupted system call
|
||||||
ENOSYS = 13 ; Function not implemented
|
ENOSYS = 13 ; Function not implemented
|
||||||
ESPIPE = 14 ; Illegal seek
|
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
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998-2000 Ullrich von Bassewitz */
|
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* Römerstrasse 52 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@musoftware.de */
|
/* EMail: uz@cc65.org */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* This software is provided 'as-is', without any expressed or implied */
|
/* 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 EINTR 12 /* Interrupted system call */
|
||||||
#define ENOSYS 13 /* Function not implemented */
|
#define ENOSYS 13 /* Function not implemented */
|
||||||
#define ESPIPE 14 /* Illegal seek */
|
#define ESPIPE 14 /* Illegal seek */
|
||||||
#define EUNKNOWN 15 /* Unknown OS specific error */
|
#define ERANGE 15 /* Range error */
|
||||||
|
#define EUNKNOWN 16 /* Unknown OS specific error */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ const char* const _sys_errlist[] = {
|
|||||||
"Interrupted system call", /* 12 */
|
"Interrupted system call", /* 12 */
|
||||||
"Function not implemented", /* 13 */
|
"Function not implemented", /* 13 */
|
||||||
"Illegal seek", /* 14 */
|
"Illegal seek", /* 14 */
|
||||||
|
"Range error", /* 15 */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user