posix_fallocate.c 232 B

12345678910
  1. #include <fcntl.h>
  2. #include "syscall.h"
  3. int posix_fallocate(int fd, off_t base, off_t len)
  4. {
  5. return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base),
  6. __SYSCALL_LL_E(len));
  7. }
  8. weak_alias(posix_fallocate, posix_fallocate64);