Sets the (writeable) flags in @channel to (@flags & %G_IO_FLAG_SET_MASK).
the status of the operation.
the flags to set on the IO channel