libc: rewrite access()

This commit is contained in:
2016-12-26 00:35:40 +01:00
parent b862596737
commit 66373243bd
2 changed files with 20 additions and 18 deletions

View File

@ -572,6 +572,7 @@ extern void freenetconninfo(NetConnInfo*);
#define AREAD 4 /* read access */
#define AWRITE 2 /* write access */
#define AEXEC 1 /* execute access */
#define AMASK (AEXIST|AREAD|AWRITE|AEXEC)
/* Segattch */
#define SG_RONLY 0040 /* read only */