Reads a line, including the terminating character(s), from a IOChannel into a newly-allocated string.
str_return
will contain allocated memory if the return is g_io_status_normal.
this | |
str_return |
The line read from the IOChannel, including the line terminator. This data should
be freed with g_free when no longer needed. This is a nul-terminated string. If a
|
length |
location to store length of the read data, or null |
terminator_pos |
location to store position of line terminator, or null |
the status of the operation. |