add syscall wrappers for posix_fadvise, posix_fallocate
[musl] / src / fcntl / posix_fallocate.c
1 #include <fcntl.h>
2 #include "syscall.h"
3
4 int posix_fallocate(int fd, off_t base, off_t len)
5 {
6         return -__syscall(SYS_fallocate, fd, __SYSCALL_LL(base),
7                 __SYSCALL_LL(len));
8 }