6 int sync_file_range(int fd
, off_t pos
, off_t len
, unsigned flags
)
8 #if defined(SYS_sync_file_range2)
9 return syscall(SYS_sync_file_range2
, fd
, flags
,
10 __SYSCALL_LL_E(pos
), __SYSCALL_LL_E(len
));
11 #elif defined(SYS_sync_file_range)
12 return syscall(SYS_sync_file_range
, fd
,
13 __SYSCALL_LL_O(pos
), __SYSCALL_LL_E(len
), flags
);
15 return __syscall_ret(-ENOSYS
);