Method

FwupdPluginUdevDeviceget_fd

since: 1.3.3

Declaration [src]

gint
fu_udev_device_get_fd (
  FuUdevDevice* self
)

Description [src]

Gets the file descriptor if the device is open.

Available since: 1.3.3

Return value

Type: gint

Positive integer, or -1 if the device is not open.