diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 12:38:55 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 14:56:36 -0300 |
| commit | a9490f3d11e2ad19bb53f994fe506e1c2e094d96 (patch) | |
| tree | 69cfe4e989abcfd5629857089ff9ab5c93dfbc34 /src/host_io.zig | |
| parent | dde4979f59bec754b7909a81a40763850f3c29c0 (diff) | |
| download | pardes-a9490f3d11e2ad19bb53f994fe506e1c2e094d96.tar.gz pardes-a9490f3d11e2ad19bb53f994fe506e1c2e094d96.zip | |
idioms #6, std.Io where the host has one, and libc's reasons where it stays: fonts reads a face's tables through std.Io.File (monospaced takes the walk's io), and each host's libc alias says what it is still for (ptys, sockets passing fds, signal handlers and forked children, O_NONBLOCK opens, inotify, the registry's symlinks, a cancelable task's unlink)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/host_io.zig')
| -rw-r--r-- | src/host_io.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host_io.zig b/src/host_io.zig index 1b82e6bc..6ce26e41 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -1,6 +1,7 @@ const builtin = @import("builtin"); const std = @import("std"); const posix = std.posix; +/// libc: ptys, fork and exec, signals; and the leaf file calls (/proc, PATH, the prompt rc files), which run with no io: in a forked child, a signal handler, or for callers holding none. const libc = std.c; const pardes = @import("pardes.zig"); const selection_pipe = @import("selection_pipe.zig"); |
