zig/lib/std/fs
Andrew Kelley ede41759be std.fs.File.writeFileAll: support unseekable files
With this commit, the function tries to use more efficient syscalls, and
then falls back to non-positional reads.

The motivating use case for this change is to support something like the
following:

try io.getStdOut().writeFileAll(dest_file, .{});
2020-11-03 15:25:43 -07:00
..
file.zig std.fs.File.writeFileAll: support unseekable files 2020-11-03 15:25:43 -07:00
get_app_data_dir.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
path.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
test.zig disable the failing std lib freebsd tests 2020-10-12 20:08:23 -07:00
wasi.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
watch.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00