aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-04-01 13:08:28 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-01 13:08:28 -0400
commit81a5726bd231f21a3621007bde58eac9a0f82885 (patch)
tree11b1d9a529d9acae47e516a0e8610f182eedab5f /posix
parent00e5419f8ed1b927814ba7f84ec8f4b021efe4fe (diff)
downloadglibc-81a5726bd231f21a3621007bde58eac9a0f82885.tar
glibc-81a5726bd231f21a3621007bde58eac9a0f82885.tar.gz
glibc-81a5726bd231f21a3621007bde58eac9a0f82885.tar.bz2
glibc-81a5726bd231f21a3621007bde58eac9a0f82885.zip
Add syncfs syscall.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index e73673121e..08a3d47463 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -977,6 +977,13 @@ extern int fsync (int __fd);
#endif /* Use BSD || X/Open || Unix98. */
+#ifdef __USE_GNU
+/* Make all changes done to all files on the file system associated
+ with FD actually appear on disk. */
+extern int syncfs (int __fd) __THROW;
+#endif
+
+
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
/* Return identifier for the current host. */