summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-08-29 05:15:43 +0000
committerkib <kib@FreeBSD.org>2016-08-29 05:15:43 +0000
commitd0fbd293223f7c2064989a48f2dce02a31102d39 (patch)
tree7a297f2f894bac57a5367b9008531172b327ea6b /include
parent5557ede983360bb766926977b87aff4d9272febb (diff)
downloadFreeBSD-src-d0fbd293223f7c2064989a48f2dce02a31102d39.zip
FreeBSD-src-d0fbd293223f7c2064989a48f2dce02a31102d39.tar.gz
MFC r304176:
Add a trivial implementation of fdatasync(2).
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 0d20027..fc31064 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -384,6 +384,7 @@ extern int optind, opterr, optopt;
/* ISO/IEC 9945-1: 1996 */
#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE
int fsync(int);
+int fdatasync(int);
/*
* ftruncate() was in the POSIX Realtime Extension (it's used for shared
OpenPOWER on IntegriCloud