get_line_term


Description:

public unowned string get_line_term (out int length)

This returns the string that IOChannel uses to determine where in the file a line break occurs.

A value of null indicates autodetection. Since 2.84, the return value is always nul-terminated.

Parameters:

this

a IOChannel

length

a location to return the length of the line terminator

Returns:

The line termination string. This value is owned by GLib and must not be freed.