From a9490f3d11e2ad19bb53f994fe506e1c2e094d96 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 12:38:55 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/daemon.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/daemon.zig') diff --git a/src/daemon.zig b/src/daemon.zig index 118fa58a..009b81e3 100644 --- a/src/daemon.zig +++ b/src/daemon.zig @@ -23,6 +23,7 @@ //! the connection is handed to that session, which it talks to from then on. const std = @import("std"); const builtin = @import("builtin"); +/// libc: sockets passing fds (SCM_RIGHTS), fork and setsid, and unlinks a signal handler or a forked child makes. const libc = std.c; const posix = std.posix; const ninep_io = @import("9p_io.zig"); -- cgit v1.3