libssh2_channel_eof.3 (507B)
1.TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_channel_eof - check a channel's EOF status 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_channel_eof(LIBSSH2_CHANNEL *channel); 10.fi 11.SH DESCRIPTION 12\fIchannel\fP - active channel stream to set closed status on. 13 14Check if the remote host has sent an EOF status for the selected stream. 15.SH RETURN VALUE 16Returns 1 if the remote host has sent EOF, otherwise 0. Negative on 17failure. 18.SH SEE ALSO 19.BR libssh2_channel_close(3)