Method

FwupdPluginUdevDeviceget_siblings_with_subsystem

Declaration [src]

GPtrArray*
fu_udev_device_get_siblings_with_subsystem (
  FuUdevDevice* self,
  const gchar* subsystem
)

Description [src]

Get a list of devices that are siblings of self and have the provided subsystem.

Available since:1.6.0

Parameters

subsystem const gchar*
 

The name of a udev subsystem.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: An array of FuUdevDevice
 

Devices.

 The caller of the method takes ownership of the data, and is responsible for freeing it.