[ CCode ( array_length = false , array_null_terminated = true ) ]
public unowned string[]? get_sysfs_attr_as_strv_uncached (string name)
Look up the sysfs attribute with name on this and return the result of splitting it into
non-empty tokens split at white space (only space (' '), form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'),
and vertical tab ('\v') are considered; the locale is not taken into account).
This function does blocking I/O, and updates the sysfs attributes cache.
| this |
A Device. |
| name |
Name of the sysfs attribute. |
|
The value of the sysfs attribute split into tokens or null if there is no such attribute. This array is owned by this and should not be freed by the caller. Before version 238 the uncached getters would not strip trailing newlines. |