fsync.2: Update FTM requirements

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-09 15:12:05 +01:00
parent b68a13bc33
commit a48088b0e6
1 changed files with 6 additions and 4 deletions

View File

@ -51,12 +51,14 @@ Feature Test Macro Requirements for glibc (see
.in .in
.sp .sp
.BR fsync (): .BR fsync ():
_BSD_SOURCE || _XOPEN_SOURCE Glibc 2.16 and later:
.br No feature test macros need be defined
|| /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L Glibc up to and including 2.15:
_BSD_SOURCE || _XOPEN_SOURCE
|| /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L
.br .br
.BR fdatasync (): .BR fdatasync ():
_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500 _POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
.SH DESCRIPTION .SH DESCRIPTION
.BR fsync () .BR fsync ()
transfers ("flushes") all modified in-core data of transfers ("flushes") all modified in-core data of