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.
the buffer containing the data to write
the number of bytes to write
the number of bytes actually written
G_IO_ERROR_NONE if the operation was successful.
See Implementation
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.