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
bd287dd194Terin Stock committed on 3/2/2020, 5:54:50 PM· committed by Andrew Kelleyparent00be934
3 files changedLine totals unavailable