readlink.2, symlink.2: Fixed feature test macro requirements

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-18 11:02:19 +02:00
parent f0644d82ff
commit cde2506fa1
2 changed files with 8 additions and 2 deletions

View File

@ -50,7 +50,10 @@ Feature Test Macro Requirements for glibc (see
.sp .sp
.ad l .ad l
.BR readlink (): .BR readlink ():
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L .RS 4
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _POSIX_C_SOURCE\ >=\ 200112L
.RE
.ad b .ad b
.SH DESCRIPTION .SH DESCRIPTION
.BR readlink () .BR readlink ()

View File

@ -44,7 +44,10 @@ Feature Test Macro Requirements for glibc (see
.sp .sp
.ad l .ad l
.BR symlink (): .BR symlink ():
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L .RS 4
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _POSIX_C_SOURCE\ >=\ 200112L
.RE
.ad b .ad b
.SH DESCRIPTION .SH DESCRIPTION
.BR symlink () .BR symlink ()