From bf2c1f22664a4d6bcb5bdc70d7b7a87915e1ffc8 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sat, 2 Oct 2021 14:38:15 -0500 Subject: [PATCH] Add EILSEQ errno value. This is required by C95 and later; it may be set by character/string conversion functions. Note that the value of 12 conflicts with GNO's existing definition of EPERM. This should not cause much trouble, but GNO could potentially define its own different value for EILSEQ, with the GNO version of ORCALib adjusted accordingly. --- ORCACDefs/errno.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ORCACDefs/errno.h b/ORCACDefs/errno.h index 0b4b994..a95c170 100644 --- a/ORCACDefs/errno.h +++ b/ORCACDefs/errno.h @@ -25,6 +25,7 @@ #define EACCESS 9 /* alias for EACCES */ #define EEXIST 10 /* the file exists */ #define ENOSPC 11 /* the file is too large */ +#define EILSEQ 12 /* encoding error */ extern int errno; #define errno errno