tiny.sys
Overview · API · Code relationships · Verification · Audit
Overview
Code above lib/sys reaches the platform through this surface, and the platform-sensitive parts of std, libc, @cImport, and the platform libraries stay below it. One namespace per area of the operating system spans descriptors, virtual memory, processes and threads, and what a running program does to its host: files, sockets, clocks, standard streams, and the environment. Whatever descriptor, virtual memory mapping, process, or thread the operating system hands back is a host resource that stays the caller's to release, which means the caller closes the descriptors it received and unmaps the memory it mapped. A call that fails turns the platform's status code or errno into a Zig error value before it returns, producing a typed error that keeps raw numbers out of the code above.
Definitions
Types and contracts
Public types and contracts.
Namespaces
Public namespaces.
capabilitiesprocessappleatomicdrm: Linux DRM render nodes and the synchronization objects (syncobjs) they own, through the kernel uAPI ofinclude/uapi/drm/drm.h.evdeveventfontkvmrseqx11fdmemorytimerandomsignalwindow_chromeancillarybacktracecontexterrnohost: Host-wide resource observations, each read from the operating system at the moment of the call.mathpanicpathstd_optionsstdiotinyrtnetenvfsptytlsperfallocatorheappolltimerdesktoppulsedynamicterminalthreadcoreaudiocuda: CUDA Driver API bindings: ABI types, the dynamically loaded entry points, andCUresultmapped to typed errors.vulkan: Vulkan loader bindings: ABI types, the dynamically loaded entry points, andVkResultmapped to typed errors.audio
Code relationships
Direct static dependencies extracted from parsed source by semantic graph analysis.
Uses: tiny.bench, tiny.choir, tiny.deadalloc, tiny.hypothesis, tiny.machine, tiny.ui
Used by: tiny.accy, tiny.acp, tiny.alloc, tiny.bench, tiny.bumpalo, tiny.chant, tiny.choir, tiny.coz, tiny.css, tiny.deadalloc, tiny.deflate, tiny.filigree, tiny.game, tiny.glom, tiny.gpalloc, tiny.gpu, tiny.gui, tiny.http, tiny.machine, tiny.markdown, tiny.memtrace, tiny.mprompt, tiny.pluck, tiny.png, tiny.profiling, tiny.python, tiny.reticulum, tiny.sandbox, tiny.sdfii, tiny.simd, tiny.smg, tiny.smt, tiny.sql, tiny.tldr, tiny.trace, tiny.tracy, tiny.ui, tiny.wayland, tiny.windowing, tiny.zen
Verification
No verification records are cataloged for this module in this build.
Audit
| Evidence | Value |
|---|---|
| Source | lib/sys/src/root.zig |
| Definitions | 4 of 49 documented |
| Members | 0 of 0 documented |
| Public names | 49 API, 2485 indexed |
| Version | 26.7.0 |
| Revision | daab053ee433 |