Sign in
mojo
/
mojo
/
17e3b04429ce6ad836128e1ceffefd85493ec779
/
.
/
fusl
/
src
/
fcntl
/
posix_fallocate.c
blob: 470e8b9ff47d2b57a12c3e87229fd209932570bd [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
"syscall.h"
#include
"libc.h"
int
posix_fallocate
(
int
fd
,
off_t
base
,
off_t
len
)
{
return
-
__syscall
(
SYS_fallocate
,
fd
,
0
,
__SYSCALL_LL_E
(
base
),
__SYSCALL_LL_E
(
len
));
}
LFS64
(
posix_fallocate
);