aboutsummaryrefslogtreecommitdiff
path: root/io/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-22 17:57:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-22 17:57:18 +0000
commitf406c6f2404c92b0070719a5ad9eff1e9366dcbe (patch)
treeda9bca098017e3f737d9e77a7b5e064a2311ae36 /io/sys
parent3cfd2d07c0536772eded39762bd3021c4e3f0ebf (diff)
downloadglibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.zip
glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.tar.gz
glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.tar.bz2
Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
Diffstat (limited to 'io/sys')
-rw-r--r--io/sys/stat.h10
1 files changed, 10 insertions, 0 deletions
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. */