Method
FwupdPluginIOChannelread_raw
Declaration [src]
gboolean
fu_io_channel_read_raw (
FuIOChannel* self,
guint8* buf,
gsize bufsz,
gsize* bytes_read,
guint timeout_ms,
FuIOChannelFlags flags,
GError** error
)
Description [src]
Reads bytes from the TTY, that will fail if exceeding timeout_ms
.
Available since: | 1.2.2 |
Parameters
buf |
guint8* |
Optional buffer. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
bufsz |
gsize |
Size of |
|
bytes_read |
gsize* |
Data written to |
|
The argument will be set by the function. | |
The argument can be set to NULL . | |
timeout_ms |
guint |
Timeout in ms. |
|
flags |
FuIOChannelFlags |
Channel flags, e.g. |
|
error |
GError ** |
The return location for a GError* , or NULL . |