syncfs.c 274 B

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