Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
fcntl
/
posix_fallocate.c
blob: 91d8063ca45815757bdb63478e91f85b1a4f8990 [
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
);