summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syncfs.c
blob: 831f76568972018b1c8d47e94c45ad6dee99a0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* vi: set sw=4 ts=4: */
/*
 * Copyright (C) 2015 Bartosz Golaszewski <bartekgola@gmail.com>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>

#if defined(__NR_syncfs) && __USE_GNU
#include <unistd.h>
_syscall1(int, syncfs, int, fd)
#endif