FwupdPlugin.UdevDevice.set_fd

### Method

# FwupdPlugin UdevDeviceset_fd

since: 1.3.3

#### Declaration [src]

    void
    fu_udev_device_set_fd (
      FuUdevDevice* self,
      gint fd
    )

#### Description [src]

Replace the file descriptor to use when the device has already been opened. This object will automatically `close()` `fd` when `fu_device_close()` is called.

Available since: 1.3.3

#### Parameters

`fd`

  Type: `gint`

  A valid file descriptor.