IOChannel.shutdown

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().

class IOChannel
shutdown
(
int flush
)

Parameters

flush int

if TRUE, flush pending

Return Value

Type: GIOStatus

the status of the operation.

Throws

GException on failure.

Meta