diff options
author | kib <kib@FreeBSD.org> | 2016-08-29 05:15:43 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-08-29 05:15:43 +0000 |
commit | d0fbd293223f7c2064989a48f2dce02a31102d39 (patch) | |
tree | 7a297f2f894bac57a5367b9008531172b327ea6b /include | |
parent | 5557ede983360bb766926977b87aff4d9272febb (diff) | |
download | FreeBSD-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.h | 1 |
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 |