aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerin Stock <terinjokes@gmail.com>2020-01-10 02:03:56 -0800
committerAndrew Kelley <andrew@ziglang.org>2020-03-02 12:54:50 -0500
commitbd287dd1942f0a72e6bd9dc8475bd4e7d34fa5f8 (patch)
tree7288fbd6c28ee5b67e880f2bf7f4c0bc2f269377 /src
parent00be934569d25e3b041091ff63a4cf6c456d1403 (diff)
downloadzig-bd287dd1942f0a72e6bd9dc8475bd4e7d34fa5f8.tar.gz
zig-bd287dd1942f0a72e6bd9dc8475bd4e7d34fa5f8.zip
std: implement sendfile on linux
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions