Building the libssh2 and including a script to build it as UB
[printdrop.git] / libssh2 / share / man / man3 / libssh2_channel_set_blocking.3
1 .\" $Id: libssh2_channel_set_blocking.3,v 1.5 2007/06/14 17:23:13 jehousley Exp $
2 .\"
3 .TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
4 .SH NAME
5 libssh2_channel_set_blocking - set or clear blocking mode on channel
6 .SH SYNOPSIS
7 #include <libssh2.h>
8
9 void
10 libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);
11
12 .SH DESCRIPTION
13 \fIchannel\fP - channel stream to set or clean blocking status on.
14
15 \fIblocking\fP - Set to a non-zero value to make the channel block, or zero to
16 make it non-blocking.
17
18 Currently this is just a short cut call to
19 .BR libssh2_session_set_blocking(3)
20 and therefore will affect the session and all channels.
21
22 .SH RETURN VALUE
23 None
24
25 .SH SEE ALSO
26 .BR libssh2_session_set_blocking(3)
27 .BR libssh2_channel_read_ex(3)
28 .BR libssh2_channel_write_ex(3)