libssh2_channel_wait_eof.3 (585B)
1.TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_channel_wait_eof - wait for the remote to reply to an EOF request 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel); 10.fi 11.SH DESCRIPTION 12Wait for the remote end to send EOF. 13 14.SH RETURN VALUE 15Return 0 on success or negative on failure. It returns 16LIBSSH2_ERROR_EAGAIN when it would otherwise block. While 17LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se. 18.SH SEE ALSO 19.BR libssh2_channel_send_eof(3) 20.BR libssh2_channel_eof(3)