Enumeration

GioDataStreamNewlineType

Declaration

enum Gio.DataStreamNewlineType

Description [src]

GDataStreamNewlineType is used when checking for or setting the line endings for a given file.

Members

G_DATA_STREAM_NEWLINE_TYPE_LF

Selects “LF” line endings, common on most modern UNIX platforms.

  • Value: 0
  • Available since: 2.0
G_DATA_STREAM_NEWLINE_TYPE_CR

Selects “CR” line endings.

  • Value: 1
  • Available since: 2.0
G_DATA_STREAM_NEWLINE_TYPE_CR_LF

Selects “CR, LF” line ending, common on Microsoft Windows.

  • Value: 2
  • Available since: 2.0
G_DATA_STREAM_NEWLINE_TYPE_ANY

Automatically try to handle any line ending type.

  • Value: 3
  • Available since: 2.0