Method

FwupdPluginUdevDevicepwrite_full

Declaration [src]

gboolean
fu_udev_device_pwrite_full (
  FuUdevDevice* self,
  goffset port,
  const guint8* buf,
  gsize bufsz,
  GError** error
)

Description [src]

Write a buffer to a file descriptor at a given offset.

Available since:1.4.5

Parameters

port goffset
 

Offset address.

buf const guint8*
 

Data.

 The argument will be set by the function.
bufsz gsize
 

Size of data.

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

Return value

Returns: gboolean
 

TRUE for success.