Enumeration (GI Flags)

GLib-2.0GLibIOFlags

Specifies properties of a GLib.IOChannel. Some of the flags can only be read with g_io_channel_get_flags(), but not changed with g_io_channel_set_flags().

Index
APPEND: 1

Turns on append mode, corresponds to O_APPEND (see the documentation of the UNIX open() syscall)

GET_MASK: 31

The mask of the flags that are returned from g_io_channel_get_flags()

IS_READABLE: 4

Indicates that the io channel is readable. This flag cannot be changed.

IS_SEEKABLE: 16

Indicates that the io channel is seekable, i.e. that g_io_channel_seek_position() can be used on it. This flag cannot be changed.

IS_WRITABLE: 8

Indicates that the io channel is writable. This flag cannot be changed.

IS_WRITEABLE: 8

A misspelled version of G_IO_FLAG_IS_WRITABLE that existed before the spelling was fixed in GLib 2.30. It is kept here for compatibility reasons. Deprecated since 2.30

MASK: 31

The mask that specifies all the valid flags.

NONBLOCK: 2

Turns on nonblocking mode, corresponds to O_NONBLOCK/O_NDELAY (see the documentation of the UNIX open() syscall)

NONE: 0

No special flags set.

2.74

SET_MASK: 3

The mask of the flags that the user can modify with g_io_channel_set_flags()