xref: /aosp_15_r20/external/musl/src/fcntl/posix_fallocate.c (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1 #include <fcntl.h>
2 #include "syscall.h"
3 
posix_fallocate(int fd,off_t base,off_t len)4 int posix_fallocate(int fd, off_t base, off_t len)
5 {
6 	return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base),
7 		__SYSCALL_LL_E(len));
8 }
9