GNOME Bugzilla – Bug 673174
g_input_stream_read[_finish]: document returning 0 on EOF
Last modified: 2012-04-02 17:11:22 UTC
I missed the references to these functions returning 0 on EOF on my first few readings of their documentation; this patch makes it a little clearer.
Created attachment 210955 [details] [review] g_input_stream_read[_finish]: document returning 0 on EOF g_input_stream_read() does state that it returns 0 on end of file, but not in the Returns: line, so it's easy to miss on a quick skim-read. g_input_stream_read_async() documents that g_input_stream_read_finish() returns 0 on end of file, but g_input_stream_read_finish() itself does not.
Comment on attachment 210955 [details] [review] g_input_stream_read[_finish]: document returning 0 on EOF sure
Attachment 210955 [details] pushed as f2c77ee - g_input_stream_read[_finish]: document returning 0 on EOF