IOChannel.readLineString

Reads a line from a glib.IOChannel, using a GString as a buffer.

class IOChannel
readLineString

Parameters

buffer StringG

a GString into which the line will be written. If buffer already contains data, the old data will be overwritten.

terminatorPos size_t

location to store position of line terminator, or NULL

Return Value

Type: GIOStatus

the status of the operation.

Throws

GException on failure.