#include // for posix_fallocate #include // for off_t #include // for __syscall_4, syscall int posix_fallocate(int fd, off_t offset, off_t len) { return syscall(fallocate, fd, 0, offset, len); }