GLib.IOChannel.prototype.set_flags

function set_flags(flags: GLib.IOFlags): GLib.IOStatus {
    // Gjs wrapper for g_io_channel_set_flags()
}
  

Sets the (writeable) flags in channel to (flags & GLib.IOFlags.set_mask).

flags

the flags to set on the IO channel

Returns

the status of the operation.