Documentation
¶
Overview ¶
Package clib is the shared purego plumbing for the native libraries the lys family binds without cgo (lys-login's libpam at run time, and the reference libpipewire and libei the tests here drive): dlopen over a candidate list and C string copies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open dlopens the first candidate that loads (RTLD_NOW|RTLD_GLOBAL), joining every failure when none does.
func SystemCandidates ¶
SystemCandidates is a soname through the loader's own search path (LD_LIBRARY_PATH, ld.so.cache), then the NixOS system profile — whose loader has no FHS default path — and the common distro locations.
Types ¶
This section is empty.