OLD | NEW |
1 #include <fcntl.h> | 1 #include <fcntl.h> |
2 #include "syscall.h" | 2 #include "syscall.h" |
3 #include "libc.h" | 3 #include "libc.h" |
4 | 4 |
5 int posix_fallocate(int fd, off_t base, off_t len) | 5 int posix_fallocate(int fd, off_t base, off_t len) { |
6 { | 6 return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), |
7 » return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), | 7 __SYSCALL_LL_E(len)); |
8 » » __SYSCALL_LL_E(len)); | |
9 } | 8 } |
10 | 9 |
11 LFS64(posix_fallocate); | 10 LFS64(posix_fallocate); |
OLD | NEW |