libssh2_channel_set_blocking.3 (719B)
1.TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_channel_set_blocking - set or clear blocking mode on channel 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8void 9libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking); 10.fi 11.SH DESCRIPTION 12\fIchannel\fP - channel stream to set or clean blocking status on. 13 14\fIblocking\fP - Set to a non-zero value to make the channel block, or zero to 15make it non-blocking. 16 17Currently this is a short cut call to 18.BR libssh2_session_set_blocking(3) 19and therefore will affect the session and all channels. 20.SH RETURN VALUE 21None 22.SH SEE ALSO 23.BR libssh2_session_set_blocking(3) 24.BR libssh2_channel_read_ex(3) 25.BR libssh2_channel_write_ex(3)