g_io_channel_read_to_end read just 998 chars, not more



Hi all,

I'm reading a string from a GIOChannel, I'm using
g_io_channel_read_to_end to read it, but it read just 998 chars, is
there a function limitation or what?

g_io_channel_read_to_end( channel, &string, &size, NULL );
g_print("returned: %s\nsize: %d", string, size);

-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]