The line read from the glib.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 of zero is returned, this will be NULL instead.
location to store position of line terminator, or NULL
the status of the operation.
GException on failure.
Reads a line, including the terminating character(s), from a glib.IOChannel into a newly-allocated string. str_return will contain allocated memory if the return is G_IO_STATUS_NORMAL.