IOChannel.write

Warning g_io_channel_write has been deprecated since version 2.2 and should not be used in newly-written code. Use g_io_channel_write_chars() instead. Writes data to a GIOChannel.

class IOChannel
write

Parameters

buf string

the buffer containing the data to write

count gsize

the number of bytes to write

bytesWritten gsize

the number of bytes actually written

Return Value

Type: GIOError

G_IO_ERROR_NONE if the operation was successful.

Meta