Add EACCES as another name for EACCESS in <errno.h>.

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.
This commit is contained in:
Stephen Heumann 2018-09-10 18:26:24 -05:00
parent 2d43074d5a
commit a359543769
1 changed files with 2 additions and 1 deletions

View File

@ -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 */