/
clang
/
musl
Обзор
Документация
Войти
/
clang
/
musl
Код
Вики
Пакеты
0
Релизы
0
Аналитика
master
src/linux/fallocate.c
9 строк
207 B
Rich Felker
remove LFS64 symbol aliases; replace with dynamic linker remapping
19 окт 2022, 21:01
19 окт 2022, 21:01
246f1c8
Код
Авторство
О чём код?
#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)); }