[ CCode ( array_length = false , array_null_terminated = true ) ]
public unowned string[]? get_sysfs_attr_as_strv (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).
The retrieved value is cached in the device. Repeated calls will return the same value and not open the attribute again, unless updated through one of the "uncached" functions.
this |
A Device. |
name |
Name of the sysfs attribute. |
The value of the sysfs attribute split into tokens or |