mirror of
git://git.musl-libc.org/musl
synced 2025-03-11 06:07:29 +00:00
the syscall takes an extra flag argument which should be zero to meet the POSIX requirements.
9 lines
183 B
C
9 lines
183 B
C
#include <fcntl.h>
|
|
#include "syscall.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));
|
|
}
|