summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syncfs.c
blob: 5be63f01778aa3af7c81b4110fceff6a2910692a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * 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