Sign in
apache
/
doris
/
refs/heads/vector-index-dev
/
.
/
be
/
src
/
glibc-compatibility
/
musl
/
fallocate.c
blob: 31e63822c944a67a9dbd0f59383e293f3fa70112 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<fcntl.h>
#include
<sys/syscall.h>
extern
long
int
syscall
(
long
int
__sysno
,
...)
__THROW
;
int
fallocate
(
int
fd
,
int
mode
,
off_t
base
,
off_t
len
)
{
return
syscall
(
SYS_fallocate
,
fd
,
mode
,
base
,
len
);
}