shutdown

fun shutdown(flush: Boolean): <Error class: unknown class><IOStatus>

Close an IO channel. Any pending data to be written will be flushed if @flush is true. The channel will not be freed until the last reference is dropped using g_io_channel_unref().

Return

the status of the operation.

Parameters

flush

if true, flush pending