mirror of https://github.com/mkerrisk/man-pages
fsync.2: Update feature test macro requirements for fsync()
Since glibc 2.8, the fsync() declaration is also exposed if _POSIX_C_SOURCE >= 200112L Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a5a061ee0c
commit
da8dbaa525
|
@ -34,7 +34,7 @@
|
|||
.\" Fix description to describe what it really does; add a few caveats.
|
||||
.\" 2006-04-28, mtk, substantial rewrite of various parts.
|
||||
.\"
|
||||
.TH FSYNC 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||
.TH FSYNC 2 2008-11-07 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
fsync, fdatasync \- synchronize a file's in-core state with storage device
|
||||
.SH SYNOPSIS
|
||||
|
@ -51,6 +51,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR fsync ():
|
||||
_BSD_SOURCE || _XOPEN_SOURCE
|
||||
.br
|
||||
|| /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L
|
||||
.\" _POSIX_C_SOURCE\ >=\ 200112L only since glibc 2.8
|
||||
.br
|
||||
.BR fdatasync ():
|
||||
_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
|
||||
|
|
Loading…
Reference in New Issue