Method
GLibIOChannelread
Declaration
GIOError
g_io_channel_read (
GIOChannel* channel,
gchar* buf,
gsize count,
gsize* bytes_read
)
Description
Reads data from a GIOChannel
.
Deprecated since: | 2.2 |
Use |
Parameters
buf |
gchar* |
A buffer to read the data into (which should be at least count bytes long) |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
count |
gsize |
The number of bytes to read from the |
|
bytes_read |
gsize* |
Returns the number of bytes actually read. |
|
The data is owned by the caller of the function. |
Return value
Returns: | GIOError |
|