Gets the current flags for a
GIOChannel, including read-only
flags such as
The values of the flags
are cached for internal use by the channel when it is created.
If they should change at some later point (e.g. partial shutdown
of a socket with the UNIX
shutdown() function), the user
should immediately call
g_io_channel_get_flags() to update
the internal values of these flags.
The flags which are set on the channel.