libssh2_channel_set_blocking(3)

libssh2_channel_set_blocking3

Set or clear blocking mode on channel

Usage

#include <libssh2.h>
void
libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);

Overview

channel - channel stream to set or clean blocking status on.

blocking - Set to a non-zero value to make the channel block, or zero to make it non-blocking.

Currently this is a short cut call to libssh2_session_set_blocking(3) and therefore will affect the session and all channels.

Return value

None

Releases

10 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7–12
  4. 13–Arch

From libssh2 1.11.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.