FwupdPlugin.UdevDevice.set_fd

### Method

# FwupdPlugin UdevDeviceset_fd

#### 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` | `gint`
| A valid file descriptor.