diff options
Diffstat (limited to 'src/linux/syncfs.c')
-rw-r--r-- | src/linux/syncfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/linux/syncfs.c b/src/linux/syncfs.c new file mode 100644 index 00000000..fe2b8a70 --- /dev/null +++ b/src/linux/syncfs.c @@ -0,0 +1,8 @@ +#define _GNU_SOURCE +#include <unistd.h> +#include "syscall.h" + +void syncfs(int fd) +{ + __syscall(SYS_syncfs, fd); +} |