Getting started
The Peios SDK is the C-ABI library family you use to talk to Peios from your own programs — access control, the registry, and events. Its first and largest member is libpeios.
How-toThe packages that make up libpeios, the headers you include, and how to compile and link against the library — with pkg-config, by hand, statically, and from non-C languages.
ConceptThe rules every libpeios function follows — how success and failure are reported, how the two-call buffer protocol works, how builders and views manage memory, and how file descriptors and constants are handled. Learn these once and they hold across the whole SDK.
How-toA small, complete C program that parses a security descriptor, reads its owner, and formats the SID back to text — putting the two-call protocol, views, and the error model to work.
How-toThe Peios SDK ships first-class Rust bindings — the peios-sys raw FFI crate and the safe, idiomatic peios wrapper. This page is the on-ramp; the crate's rustdoc is the API reference.