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 getgrent (),
|
||||||
.BR endgrent ():
|
.BR endgrent ():
|
||||||
.RS 4
|
.RS 4
|
||||||
_XOPEN_SOURCE\ >=\ 500
|
Since glibc 2.22:
|
||||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
_XOPEN_SOURCE\ >=\ 500 ||
|
||||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
_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
|
.RE
|
||||||
.PD
|
.PD
|
||||||
.ad b
|
.ad b
|
||||||
|
|
Loading…
Reference in New Issue