Method

FwupdPluginUdevDeviceset_device_file

Declaration [src]

void
fu_udev_device_set_device_file (
  FuUdevDevice* self,
  const gchar* device_file
)

Description [src]

Sets the device file to use for reading and writing.

Available since:1.8.7

Parameters

device_file const gchar*
 

A device path.

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