3.6 <%GIOFlags>

Flags: <%GIOFlags>

Specifies properties of a <GIOChannel>. Some of the flags can only be read with iochannel:get-flags, but not changed with iochannel:set-flags.

Members

none

no special flags set. Since: 2.74

append

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

nonblock

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

is-readable

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

is-writable

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

is-writeable

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

is-seekable

indicates that the io channel is seekable, i.e. that iochannel:seek-position can be used on it. This flag cannot be changed.

mask

the mask that specifies all the valid flags.

get-mask

the mask of the flags that are returned from iochannel:get-flags

set-mask

the mask of the flags that the user can modify with iochannel:set-flags