Sign in
mojo
/
mojo-tools
/
b3a28bec1abb6642ddf21b21406c6666fb821438
/
.
/
fusl
/
src
/
fcntl
/
posix_fallocate.c
blob: ce870f50c6ac60d31eaae845771b7780a265d016 [
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
));
}