mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-16 04:55:27 +03:00
bd287dd194
This changset adds a `sendfile(2)` syscall bindings to the linux bits component. Where available, the `sendfile64(2)` syscall will be transparently called. A wrapping function has also been added to the std.os to transform errno returns to Zig errors. Change-Id: I86769fc4382c0771e3656e7b21137bafd99a4411