diff options
-rw-r--r-- | io/sys/stat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 1a674b1df2..d8d8620198 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -138,6 +138,16 @@ __BEGIN_DECLS # endif #endif +/* These are from POSIX.1b. If the objects are not implemented using separate + distinct file types, the macros always will evaluate to zero. Unlike the + other S_* macros the following three take a pointer to a `struct stat' + object as the argument. */ +#ifdef __USE_POSIX199309 +# define S_TYPEISMQ(buf) __S_TYPEISMQ(buf) +# define S_TYPEISSEM(buf) __S_TYPEISSEM(buf) +# define S_TYPEISSHM(buf) __S_TYPEISSHM(buf) +#endif + /* Protection bits. */ |