You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
consttotal_path=std.fs.path.join(alloc, &.{ dir_path, std.mem.span(path) }) catchunreachable; // the allocation shouldn't fail because it should not exceed MAX_PATH_BYTES
175
213
fba.reset();
176
214
consttotal_path_z=alloc.dupeZ(u8, total_path) catchunreachable; // should not exceed MAX_PATH_BYTES + 1
0 commit comments