1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Added EBADF since this is required for fileno().

git-svn-id: svn://svn.cc65.org/cc65/trunk@4696 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-06-03 21:12:23 +00:00
parent d7aaac7e71
commit d877aac5f4
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@
ENOSYS ; Function not implemented
ESPIPE ; Illegal seek
ERANGE ; Range error
EBADF ; Bad file number
EUNKNOWN ; Unknown OS specific error - must be last!
EMAX = EUNKNOWN ; Highest error code

View File

@ -74,7 +74,8 @@ extern int _errno;
#define ENOSYS 13 /* Function not implemented */
#define ESPIPE 14 /* Illegal seek */
#define ERANGE 15 /* Range error */
#define EUNKNOWN 16 /* Unknown OS specific error */
#define EBADF 16 /* Bad file number */
#define EUNKNOWN 17 /* Unknown OS specific error */