mirror of https://github.com/mkerrisk/man-pages
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:
parent
f8342ac373
commit
64dd856b5d
14
man2/chdir.2
14
man2/chdir.2
|
@ -46,7 +46,21 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.in
|
.in
|
||||||
.sp
|
.sp
|
||||||
.BR fchdir ():
|
.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
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
|
.RE
|
||||||
|
.ad
|
||||||
|
.PD
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR chdir ()
|
.BR chdir ()
|
||||||
changes the current working directory of the calling process to the
|
changes the current working directory of the calling process to the
|
||||||
|
|
Loading…
Reference in New Issue