mirror of https://git.musl-libc.org/git/musl
4 changed files with 22 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
#include <fcntl.h> |
|||
#include "syscall.h" |
|||
|
|||
int posix_fadvise(int fd, off_t base, off_t len, int advice) |
|||
{ |
|||
return -__syscall(SYS_fadvise, fd, __SYSCALL_LL(base), |
|||
__SYSCALL_LL(len), advice); |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
#include <fcntl.h> |
|||
#include "syscall.h" |
|||
|
|||
int posix_fallocate(int fd, off_t base, off_t len) |
|||
{ |
|||
return -__syscall(SYS_fallocate, fd, __SYSCALL_LL(base), |
|||
__SYSCALL_LL(len)); |
|||
} |
|||
Loading…
Reference in new issue