Function omnisensor::sysfs::scan_hwmon_input_files
source · [−]pub fn scan_hwmon_input_files(
devdir: &Path,
fileprefix: Option<&str>
) -> Result<Vec<HwmonFileInfo>, Box<dyn Error>>
Expand description
Scan a device directoy fro hwmon *_input
files.
Look in devdir
for hwmon *_input
files, optionally filtered to just those whose
names start with a certain prefix if fileprefix
is Some
.