From: Ben Gras Date: Thu, 17 Nov 2005 01:23:33 +0000 (+0000) Subject: Synonyms for helping porting applications. X-Git-Tag: v3.1.2a~489 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-keyfromlabel.html?a=commitdiff_plain;h=e45c9f27416958f2d189c690baab74ec3f80b41b;p=minix.git Synonyms for helping porting applications. --- diff --git a/include/sys/stat.h b/include/sys/stat.h index 41cedb35c..e792f6c5b 100755 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -53,6 +53,11 @@ struct stat { #define S_IWOTH 00002 /* others: -------w- */ #define S_IXOTH 00001 /* others: --------x */ +/* Synonyms for above. */ +#define S_IEXEC S_IXUSR +#define S_IWRITE S_IWUSR +#define S_IREAD S_IRUSR + /* The following macros test st_mode (from POSIX Sec. 5.6.1.1). */ #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* is a reg file */ #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* is a directory */