Warning g_io_channel_read has been deprecated since version 2.2 and should not be used in newly-written code. Use g_io_channel_read_chars() instead. Reads data from a GIOChannel.
a buffer to read the data into (which should be at least count bytes long)
returns the number of bytes actually read
G_IO_ERROR_NONE if the operation was successful.
See Implementation
Warning g_io_channel_read has been deprecated since version 2.2 and should not be used in newly-written code. Use g_io_channel_read_chars() instead. Reads data from a GIOChannel.