mirror of
https://github.com/ziglang/zig.git
synced 2025-12-19 12:43:13 +00:00
10 lines
207 B
C
Vendored
10 lines
207 B
C
Vendored
#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));
|
|
}
|