FwupdPlugin.UdevDevice.ioctl

### Method

# FwupdPlugin UdevDeviceioctl

#### Declaration [src]

    gboolean
    fu_udev_device_ioctl (
      FuUdevDevice* self,
      gulong request,
      guint8* buf,
      gint* rc,
      guint timeout,
      GError** error
    )

#### Description [src]

Control a device using a low-level request.

Available since: | 1.8.2

#### Parameters

`request` | `gulong`
| Request number.
`buf` | `guint8*`
| A buffer to use, which must be large enough for the request.
| The data is owned by the caller of the function.
`rc` | `gint*`
| The raw return value from the ioctl.
| The argument will be set by the function.
| The argument can be set to `NULL`.
`timeout` | `guint`
| Timeout in ms for the retry action, see `FU_UDEV_DEVICE_FLAG_IOCTL_RETRY`.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.