GIOFlags

Specifies properties of a #GIOChannel. Some of the flags can only be read with glib.iochannel.IOChannel.getFlags, but not changed with glib.iochannel.IOChannel.setFlags.

Values

ValueMeaning
None0

no special flags set. Since: 2.74

Append1

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

Nonblock2

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

IsReadable4

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

IsWritable8

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

IsWriteable8

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

IsSeekable16

indicates that the io channel is seekable, i.e. that glib.iochannel.IOChannel.seekPosition can be used on it. This flag cannot be changed.

Mask31

the mask that specifies all the valid flags.

GetMask31

the mask of the flags that are returned from glib.iochannel.IOChannel.getFlags

SetMask3

the mask of the flags that the user can modify with glib.iochannel.IOChannel.setFlags