mirror of https://github.com/mkerrisk/man-pages
getgrent.3: Note glibc 2.22 changes for feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6a43458b0a
commit
bccf0b0760
|
@ -60,10 +60,16 @@ _XOPEN_SOURCE\ >=\ 500
|
|||
.BR getgrent (),
|
||||
.BR endgrent ():
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 500
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||
Since glibc 2.22:
|
||||
_XOPEN_SOURCE\ >=\ 500 ||
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
_DEFAULT_SOURCE
|
||||
.br
|
||||
Glibc 2.21 and earlier
|
||||
_XOPEN_SOURCE\ >=\ 500
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.PD
|
||||
.ad b
|
||||
|
|
Loading…
Reference in New Issue