mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
207 B
10 lines
207 B
|
14 years ago
|
#define _GNU_SOURCE
|
||
|
|
#include <fcntl.h>
|
||
|
|
#include "syscall.h"
|
||
|
|
|
||
|
|
int fallocate(int fd, int mode, off_t base, off_t len)
|
||
|
|
{
|
||
|
|
return syscall(SYS_fallocate, fd, mode, __SYSCALL_LL_E(base),
|
||
|
|
__SYSCALL_LL_E(len));
|
||
|
|
}
|