[ Version ( since = "234" ) ]
public int get_sysfs_attr_as_int_uncached (string name)
Look up the sysfs attribute with name
on this and convert it to an integer using
strtol.
This function does blocking I/O, and updates the sysfs attributes cache.
Before version 238 the uncached getters would not strip trailing newlines.
this |
A Device. |
name |
Name of the sysfs attribute. |
The value of the sysfs attribute or 0 if there is no such attribute. |