0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 22:47:51 +00:00

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