Module: GLib::IOFlags

Defined in:
(unknown)

Constant Summary collapse

NONE =

no special flags set. Since: 2.74

0 or :none
APPEND =

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

1 or :append
NONBLOCK =

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

2 or :nonblock
IS_READABLE =

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

4 or :is_readable
IS_WRITABLE =

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

8 or :is_writable
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

8 or :is_writeable
IS_SEEKABLE =

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.

16 or :is_seekable
MASK =

the mask that specifies all the valid flags.

31 or :mask
GET_MASK =

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

31 or :get_mask
SET_MASK =

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

3 or :set_mask