mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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
85 lines
3.2 KiB
85 lines
3.2 KiB