Method
GLibIOChannelset_line_term
Declaration
void
g_io_channel_set_line_term (
GIOChannel* channel,
const gchar* line_term,
gint length
)
Description
This sets the string that GIOChannel
uses to determine
where in the file a line break occurs.
Parameters
line_term |
const gchar* |
The line termination string. Use |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
length |
gint |
The length of the termination string. If -1 is passed, the string is assumed to be nul-terminated. This option allows termination strings with embedded nuls. |