sd-device — API for enumerating and introspecting local devices
pkg-config --cflags --libs libsystemd
sd-device.h provides an API to introspect and enumerate devices on the local
system. It provides a programmatic interface to the database of devices and their properties mananaged by
This API is a replacement for
for more information about the functions available.
These APIs are implemented as a shared
library, which can be compiled and linked to with the