zig/lib/std/os/bits
Andrew Kelley c81345c8ae
breaking: std.os read/write functions + sendfile
* rework os.sendfile and add macosx support, and a fallback
   implementation for any OS.
 * fix sendto compile error
 * std.os write functions support partial writes. closes #3443.
 * std.os pread / pwrite functions can now return `error.Unseekable`.
 * std.fs.File read/write functions now have readAll/writeAll variants
   which loop to complete operations even when partial reads/writes
   happen.
 * Audit std.os read/write functions with respect to Linux returning
   EINVAL for lengths greater than 0x7fff0000.
 * std.os read/write shim functions do not unnecessarily loop. Since
   partial reads/writes are part of the API, the caller will be forced
   to loop anyway, and so that would just be code bloat.
 * Improve doc comments
 * Add a non-trivial test for std.os.sendfile
 * Fix std.os.pread on 32 bit Linux
 * Add missing SYS_sendfile bit on aarch64
2020-03-03 02:25:26 -05:00
..
linux breaking: std.os read/write functions + sendfile 2020-03-03 02:25:26 -05:00
darwin.zig add fcntl support on darwin 2020-02-07 12:11:15 -05:00
dragonfly.zig more std lib async I/O integration 2020-02-06 18:05:50 -05:00
freebsd.zig more std lib async I/O integration 2020-02-06 18:05:50 -05:00
linux.zig remove uses of @ArgType and @IntType 2020-02-24 23:39:03 +02:00
netbsd.zig more std lib async I/O integration 2020-02-06 18:05:50 -05:00
wasi.zig more std lib async I/O integration 2020-02-06 18:05:50 -05:00
windows.zig more std lib async I/O integration 2020-02-06 18:05:50 -05:00