From 81a5726bd231f21a3621007bde58eac9a0f82885 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 1 Apr 2011 13:08:28 -0400 Subject: Add syncfs syscall. --- posix/unistd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'posix/unistd.h') 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. */ -- cgit v1.2.1