Method

FwupdPluginUdevDevicepread

Declaration [src]

gboolean
fu_udev_device_pread (
  FuUdevDevice* self,
  goffset port,
  guint8* data,
  GError** error
)

Description [src]

Read from a file descriptor at a given offset.

Available since:1.3.3

Parameters

port goffset
 

Offset address.

data guint8*
 

Value.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE for success.