Function omnisensor::sysfs::read_and_parse
source · [−]Expand description
Read a bit of data from fd (at offset zero) and parse it as a T.
(While not strictly required, the expectation is that fd refers to a sysfs file that
contains a single integer.)