chdir.2: Update fchdir() feature test macro requirements

Add requirements for glibc 2.12.
Correct requirements for glibc versions before 2.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-18 05:35:48 +02:00
parent f8342ac373
commit 64dd856b5d
1 changed files with 14 additions and 0 deletions

View File

@ -46,7 +46,21 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR fchdir ():
.PD 0
.ad l
.RS 4
.TP 4
Since glibc 2.12:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
_POSIX_C_SOURCE\ >=\ 200809L
.TP
Before glibc 2.12:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.PD
.SH DESCRIPTION
.BR chdir ()
changes the current working directory of the calling process to the