g_input_stream_read[_finish]: document returning 0 on EOF
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 30 Mar 2012 13:44:05 +0000 (14:44 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Mon, 2 Apr 2012 17:10:35 +0000 (18:10 +0100)
commitf2c77ee718b0bfdcf5f1d6eaba151122b8c5eb36
tree3a76935b04b16f62d885fc37828d5299783aa773
parent27d95bd81fabd41367cf000566ee2ccf3651652c
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.

https://bugzilla.gnome.org/show_bug.cgi?id=673174
gio/ginputstream.c