libssh2_poll_channel_read.3 (652B)
1.TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_poll_channel_read - check if data is available 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_poll_channel_read(LIBSSH2_CHANNEL *channel, int extended); 10.fi 11.SH DESCRIPTION 12This function is deprecated. Do note use. 13 14\fIlibssh2_poll_channel_read(3)\fP checks to see if data is available in the 15\fIchannel\fP's read buffer. No attempt is made with this method to see if 16packets are available to be processed. For full polling support, use 17\fIlibssh2_poll(3)\fP. 18.SH RETURN VALUE 19Returns 1 when data is available and 0 otherwise. 20.SH SEE ALSO 21.BR libssh2_poll(3)