rlib
Convenience library for useful things
Loading...
Searching...
No Matches
Operating system

OS-system facing primitives: processes, signals, system info, environment variables, dynamic loading and TTY detection. More...

Modules

 Environment variables
 Cross-platform wrappers around the C library's environment accessors. Lookup, set (optionally overwriting) and unset.
 
 Dynamic modules
 Open shared libraries at runtime, resolve exported symbols and walk named sections.
 
 Process introspection
 Queries about the running process — whether a debugger is attached, the executable's path and name, and the process ID.
 
 Signal timers
 SIGALRM-driven timers that invoke a callback once or on a recurring interval.
 
 System and hardware topology
 Query CPU and NUMA-node counts, build RBitset masks of the available CPUs / nodes, and walk a discovered hardware topology.
 
 Terminal output and ANSI escapes
 Helpers for writing to stdout / stderr with optional ANSI styling.
 

Detailed Description

OS-system facing primitives: processes, signals, system info, environment variables, dynamic loading and TTY detection.

Six headers: