mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 01:04:43 +01:00
In Zig standard library, Dir means an open directory handle. path represents a file system identifier string. This function is better named after "current path" than "current dir". "get" and "working" are superfluous. |
||
|---|---|---|
| .. | ||
| build.zig | ||
| cwd.zig | ||
| getenv.zig | ||
| README.md | ||
| relpaths.zig | ||
| sigaction.zig | ||
Zig standalone POSIX tests
This directory is just for std.posix-related test cases that depend on
process-wide state like the current-working directory, signal handlers,
fork, the main thread, environment variables, etc. Most tests (e.g,
around file descriptors, etc) are with the unit tests in
lib/std/posix/test.zig. New tests should be with the unit tests, unless
there is a specific reason they cannot.