From f406c6f2404c92b0070719a5ad9eff1e9366dcbe Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 22 Jun 2000 17:57:18 +0000 Subject: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM. --- io/sys/stat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'io/sys') diff --git a/io/sys/stat.h b/io/sys/stat.h index 1a674b1..d8d8620 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. */ -- cgit v1.1