]> git.sur5r.net Git - cc65/commitdiff
New error code ERANGE
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 12 Aug 2003 13:48:45 +0000 (13:48 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 12 Aug 2003 13:48:45 +0000 (13:48 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81

asminc/errno.inc
include/errno.h
libsrc/common/errormsg.c

index b3464fdea60da204fe57247331b8588da4fb70a1..f541a784338ba33379ba6b1761d8611694fb5212 100644 (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
 
index e945acf347886e05c37c5db6b889a5137f7dc31f..edb4a0e8779c5416c8790ccf21cbea54c5a27b76 100644 (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 */
 
 
 
index d52daeaae627cd351b04913e0b0678dbd3f37245..ee7367056f75f3a15d8b7967018d68364a4efae4 100644 (file)
@@ -25,6 +25,7 @@ const char* const _sys_errlist[] = {
     "Interrupted system call",      /* 12 */
     "Function not implemented",     /* 13 */
     "Illegal seek",                 /* 14 */
+    "Range error",                  /* 15 */
 };