aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs.zig
diff options
context:
space:
mode:
authorJacob G-W <jacoblevgw@gmail.com>2023-07-16 21:34:13 -0400
committerJacob G-W <jacoblevgw@gmail.com>2023-08-02 18:19:07 -0400
commitd0fbfd3c9f419ceb7112d06d4a3500e9c13f6044 (patch)
treead6eeb111777476b7bf5a0411f98c38006131625 /lib/std/fs.zig
parent841b54f5e3447ee94d89007bf670b3924f78b0d2 (diff)
downloadzig-d0fbfd3c9f419ceb7112d06d4a3500e9c13f6044.tar.gz
zig-d0fbfd3c9f419ceb7112d06d4a3500e9c13f6044.zip
Plan 9: add more features to std.os.plan9
* Replaces the exit assembly with the function from std. * Reads the top-of-stack struct at program startup that can get information like the pid. * Changes the read and write functions to use the Pread and Pwrite syscalls instead of the depreciated _READ and _WRITE * Changes the openat function to use flags instead of perms. Plan9 does not support perms when opening, just when creating. * Adds an errstr function to read the errstr buf created by the kernel
Diffstat (limited to 'lib/std/fs.zig')
0 files changed, 0 insertions, 0 deletions