libssh2_channel_eof: clarify that it returns negative on errors

This commit is contained in:
Daniel Stenberg 2010-06-11 13:02:00 +02:00
parent 18605cb81f
commit cce6ebbee7

View File

@ -13,6 +13,7 @@ libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
Check if the remote host has sent an EOF status for the selected stream. Check if the remote host has sent an EOF status for the selected stream.
.SH RETURN VALUE .SH RETURN VALUE
Returns 1 if the remote host has sent EOF, otherwise 0. Returns 1 if the remote host has sent EOF, otherwise 0. Negative on
failure.
.SH SEE ALSO .SH SEE ALSO
.BR libssh2_channel_close(3) .BR libssh2_channel_close(3)