Files
termux-packages/packages/rust/syncfs.c

12 lines
188 B
C

#define _GNU_SOURCE
#include <sys/syscall.h>
#include <unistd.h>
#if defined(__ANDROID_API__) && __ANDROID_API__ < 28
int syncfs(int __fd) {
return syscall(SYS_syncfs, __fd);
}
#endif