From a359543769a4ef26fffe943f39c7a80a4b3e4656 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Mon, 10 Sep 2018 18:26:24 -0500 Subject: [PATCH] Add EACCES as another name for EACCESS in . The EACCES name is used in the ORCA/C manual, and also matches the name in POSIX and GNO. EACCESS is retained as an alias for compatibility. --- ORCACDefs/errno.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ORCACDefs/errno.h b/ORCACDefs/errno.h index c529fde..22485ea 100644 --- a/ORCACDefs/errno.h +++ b/ORCACDefs/errno.h @@ -21,7 +21,8 @@ #define EINVAL 6 /* Invalid argument */ #define EBADF 7 /* bad file descriptor */ #define EMFILE 8 /* too many files are open */ -#define EACCESS 9 /* access bits prevent the operation */ +#define EACCES 9 /* access bits prevent the operation */ +#define EACCESS 9 /* alias for EACCES */ #define EEXIST 10 /* the file exists */ #define ENOSPC 11 /* the file is too large */