]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/fsync.2
locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflush.2...
[thirdparty/man-pages.git] / man2 / fsync.2
index eebf102172ec1af9bd089fac0391ff6e15ef004d..76dcf96b1a18e3f50dee058c3fce055f7c81a69c 100644 (file)
@@ -35,7 +35,7 @@
 .\" 2006-04-28, mtk, substantial rewrite of various parts.
 .\" 2012-02-27 Various changes by Christoph Hellwig <hch@lst.de>
 .\"
-.TH FSYNC 2 2014-08-19 "Linux" "Linux Programmer's Manual"
+.TH FSYNC 2 2016-03-15 "Linux" "Linux Programmer's Manual"
 .SH NAME
 fsync, fdatasync \- synchronize a file's in-core state with storage device
 .SH SYNOPSIS
@@ -51,13 +51,14 @@ Feature Test Macro Requirements for glibc (see
 .in
 .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
+    Glibc 2.16 and later:
+        No feature test macros need be defined
+    Glibc up to and including 2.15:
+        _BSD_SOURCE || _XOPEN_SOURCE
+            || /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L
 .br
 .BR fdatasync ():
-_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
+    _POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
 .SH DESCRIPTION
 .BR fsync ()
 transfers ("flushes") all modified in-core data of