0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/libc
Josh Megnauth aaba36ff76 libzigc: posix_{fadvise, fallocate}, fallocate
This commit removes `posix_fadvise`, `posix_fallocate`, and `fallocate`
from the bundled musl by forwarding to Zig's wrappers. `musl`'s
implemenation does not use `__syscall_cp`, so I assume trivially
replacing these functions is okay.

For `posix_fadvise`, `musl` notes that the arguments are reordered
for ARM and other architectures. Zig's wrapper already handles this
case.

Contributes toward: #30978
History 2026-03-14 22:04:43 +01:00
..
darwin libc: Update macOS headers to SDK 26.2 2025-12-14 20:35:07 +00:00
freebsd libc: update startup code from freebsd 15 2025-12-07 09:18:38 +01:00
glibc libc: update glibc crt0 code to 2.43 2026-01-26 05:56:54 +01:00
include FreeBSD libc: guard ssp headers and definitions introduced in FreeBSD 15 2026-03-11 16:04:16 +08:00
mingw Reimplement coshf in libzigc 2026-03-10 00:42:32 +01:00
musl libzigc: posix_{fadvise, fallocate}, fallocate 2026-03-14 22:04:43 +01:00
netbsd libc: Add NetBSD libc abilists file. 2025-05-17 04:41:27 +02:00
openbsd libc: add openbsd libc startup code for 7.8 2026-01-05 14:52:48 +01:00
wasi Reimplement coshf in libzigc 2026-03-10 00:42:32 +01:00