about summary refs log tree commit diff
path: root/src/linux/syncfs.c
blob: bc7d301e5178906ea2d7afc0e50e7b93f12255a9 (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int syncfs(int fd)
{
	return syscall(SYS_syncfs, fd);
}