mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
11 lines
160 B
C
11 lines
160 B
C
#if defined __ANDROID__ && __ANDROID_API__ < 28
|
|
#include <sys/syscall.h>
|
|
#include <unistd.h>
|
|
|
|
int
|
|
syncfs(int fd)
|
|
{
|
|
return syscall(SYS_syncfs, fd);
|
|
}
|
|
#endif
|