0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/os
Andrew Kelley 4a67dd04c9
breaking changes to std.fs, std.os
* improve `std.fs.AtomicFile` to use sendfile()
   - also fix AtomicFile cleanup not destroying tmp files under some
     error conditions
 * improve `std.fs.updateFile` to take advantage of the new `makePath`
   which no longer needs an Allocator.
 * rename std.fs.makeDir to std.fs.makeDirAbsolute
 * rename std.fs.Dir.makeDirC to std.fs.Dir.makeDirZ
 * add std.fs.Dir.makeDirW and provide Windows implementation of
   std.os.mkdirat. std.os.windows.CreateDirectory is now implemented
   by calling ntdll, supports an optional root directory handle,
   and returns an open directory handle. Its error set has a few more
   errors in it.
 * rename std.fs.Dir.changeTo to std.fs.Dir.setAsCwd
 * fix std.fs.File.writevAll and related functions when len 0 iovecs
   supplied.
 * introduce `std.fs.File.writeFileAll`, exposing a convenient
   cross-platform API on top of sendfile().
 * `NoDevice` added to std.os.MakeDirError error set.
 * std.os.fchdir gets a smaller error set.
 * std.os.windows.CloseHandle is implemented with ntdll call rather than
   kernel32.
History 2020-03-03 15:23:27 -05:00
..
bits fix macosx and freebsd build failures 2020-03-03 02:57:11 -05:00
linux Added comment justifying wrapping operations 2020-03-03 12:41:11 +02:00
uefi Merge branch 'std-utf16-sentinel-terminated' of https://github.com/daurnimator/zig 2020-01-07 16:13:34 -05:00
windows Merge pull request #4585 from LemonBoy/fix-4581 2020-03-01 02:53:51 -05:00
bits.zig introduce operating system version ranges as part of the target 2020-02-28 14:51:53 -05:00
darwin.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
dragonfly.zig DragonFlyBSD support 2019-10-30 21:21:58 -04:00
freebsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
linux.zig std: add Dir.changeDir as wrapper around fchdir 2020-03-03 13:25:43 -05:00
netbsd.zig get rid of std.os.foo.is_the_target 2019-10-24 01:14:52 -04:00
test.zig breaking changes to std.fs, std.os 2020-03-03 15:23:27 -05:00
uefi.zig Run zig fmt 2020-02-01 11:32:53 +01:00
wasi.zig Removes proc_raise from WASI implementation 2020-01-06 14:04:55 -05:00
windows.zig breaking changes to std.fs, std.os 2020-03-03 15:23:27 -05:00