diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-22 17:57:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-22 17:57:18 +0000 |
commit | f406c6f2404c92b0070719a5ad9eff1e9366dcbe (patch) | |
tree | da9bca098017e3f737d9e77a7b5e064a2311ae36 /io | |
parent | 3cfd2d07c0536772eded39762bd3021c4e3f0ebf (diff) | |
download | glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.tar glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.tar.gz glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.tar.bz2 glibc-f406c6f2404c92b0070719a5ad9eff1e9366dcbe.zip |
Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
Diffstat (limited to 'io')
-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. */ |