Method

FwupdPluginBlockDevicesg_io_cmd_none

Declaration [src]

gboolean
fu_block_device_sg_io_cmd_none (
  FuBlockDevice* self,
  const guint8* cdb,
  guint8 cdbsz,
  GError** error
)

Description [src]

Performs a SCSI IO command with no parameters.

Available since:2.0.0

Parameters

cdb const guint8*
 

A cdb command.

 The data is owned by the caller of the function.
cdbsz guint8
 

Sizeof cdb.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.