libssh2_channel_wait_eof3
Wait for the remote to reply to an eof request
Usage
#include <libssh2.h> int libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);
Overview
Wait for the remote end to send EOF.
Return value
Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 3 times.