syncfs.c 299 B

12345678910111213
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Copyright (C) 2015 Bartosz Golaszewski <bartekgola@gmail.com>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <sys/syscall.h>
  8. #if defined(__NR_syncfs) && __USE_GNU
  9. #include <unistd.h>
  10. _syscall1(int, syncfs, int, fd)
  11. #endif