Enumeration
GioDataStreamNewlineType
since: 2.0
Description
GDataStreamNewlineType
is used when checking for or setting the line endings for a given file.
Available since: 2.0
Members
G_DATA_STREAM_NEWLINE_TYPE_LF
-
Selects “LF” line endings, common on most modern UNIX platforms.
- Value:
0
- Nickname:
lf
- Available since: 2.0
- Value:
G_DATA_STREAM_NEWLINE_TYPE_CR
-
Selects “CR” line endings.
- Value:
1
- Nickname:
cr
- Available since: 2.0
- Value:
G_DATA_STREAM_NEWLINE_TYPE_CR_LF
-
Selects “CR, LF” line ending, common on Microsoft Windows.
- Value:
2
- Nickname:
cr-lf
- Available since: 2.0
- Value:
G_DATA_STREAM_NEWLINE_TYPE_ANY
-
Automatically try to handle any line ending type.
- Value:
3
- Nickname:
any
- Available since: 2.0
- Value: