mirror of https://github.com/mkerrisk/man-pages
inode.7: Note glibc 2.24 feature test macro changes for S_IFSOCK and S_ISSOCK()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7676eafe87
commit
45375b20ec
15
man7/inode.7
15
man7/inode.7
|
@ -319,11 +319,15 @@ and
|
|||
are provided if
|
||||
.BR _XOPEN_SOURCE
|
||||
is defined.
|
||||
|
||||
The definition of
|
||||
.BR S_IFSOCK
|
||||
can also be exposed by defining
|
||||
can also be exposed either by defining
|
||||
.BR _XOPEN_SOURCE
|
||||
with a value of 500 or greater.
|
||||
with a value of 500 or greater or (since glibc 2.24) by defining both
|
||||
.BR _XOPEN_SOURCE
|
||||
and
|
||||
.BR _XOPEN_SOURCE_EXTENDED .
|
||||
|
||||
The definition of
|
||||
.BR S_ISSOCK ()
|
||||
|
@ -333,9 +337,12 @@ is exposed if any of the following feature test macros is defined:
|
|||
.BR _DEFAULT_SOURCE
|
||||
(in glibc 2.20 and later),
|
||||
.BR _XOPEN_SOURCE
|
||||
with a value of 500 or greater, or
|
||||
with a value of 500 or greater,
|
||||
.BR _POSIX_C_SOURCE
|
||||
with a value of 200112L or greater.
|
||||
with a value of 200112L or greater, or (since glibc 2.24) by defining both
|
||||
.BR _XOPEN_SOURCE
|
||||
and
|
||||
.BR _XOPEN_SOURCE_EXTENDED .
|
||||
.PP
|
||||
The following mask values are defined for
|
||||
the file mode component of the
|
||||
|
|
Loading…
Reference in New Issue