Method

FwupdPluginUdevDeviceget_sysfs_path

Declaration [src]

const gchar*
fu_udev_device_get_sysfs_path (
  FuUdevDevice* self
)

Description [src]

Gets the device sysfs path, e.g. /sys/devices/pci0000:00/0000:00:14.0.

Available since:1.1.2

Return value

Returns: utf8
 

A local path, or NULL if unset or invalid.

 The data is owned by the instance.
 The string is a NUL terminated UTF-8 string.