
Sysfs is a virtual file system in linux kernel 2.5+ that provides a tree of system devices. libsysfs provides a stable programming interface to sysfs and eases querying system devices and their attributes.
the package sysfsutils contains frontend programs that use this library. development files and c examples are provided by the package libsysfs-dev.