Chromium Code Reviews| 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 return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), | 6 return -__syscall(SYS_fallocate, fd, 0, __SYSCALL_LL_E(base), |
| 7 __SYSCALL_LL_E(len)); | 7 __SYSCALL_LL_E(len)); |
| 8 } | 8 } |
| 9 | |
| 10 LFS64(posix_fallocate); | |
| OLD | NEW |