Fixed R_OK/X_OK definitions to match POSIX.

This commit is contained in:
Joao Matos 2019-04-04 10:35:50 -06:00 committed by Gregory Nutt
parent 8f5a94c5e5
commit 604f699711
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@
/* Bit values for the second argument to access */
#define F_OK 0 /* Test existence */
#define R_OK 1 /* Test read permission */
#define X_OK 1 /* Test execute permission */
#define W_OK 2 /* Test write permission */
#define X_OK 4 /* Test execute permission */
#define R_OK 4 /* Test read permission */
/* POSIX feature set macros */