get_sysfs_attr_as_strv_uncached


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "234" ) ]
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.

Parameters:

this

A Device.

name

Name of the sysfs attribute.

Returns:




2022 vala-language.org