libssh2_channel_set_blocking(3)

πŸ“¦
version 1.11.1 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ libssh2_channel_set_blocking(3) ✨

okay so this is a page from the libssh2 manual, bestie, and it's a short one but a real one πŸ’–


🌸 NAME 🌸

libssh2_channel_set_blocking β€” set or clear blocking mode on channel


πŸŽ€ SYNOPSIS πŸŽ€

#include <libssh2.h>

void
libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);

πŸ¦‹ DESCRIPTION πŸ¦‹

  • channel β€” the channel stream you're setting (or cleaning πŸ‘€) the blocking status on.
  • blocking β€” set this to a non-zero value and the channel blocks; set it to zero and it goes non-blocking. that's it, that's the whole vibe check.
ngl, right now this is just a short cut call to libssh2_session_set_blocking(3), so it's highkey gonna affect the session and every single channel on it. not just yours. the whole group chat. 😭

πŸ‘‘ RETURN VALUE πŸ‘‘

None. literally nothing comes back. it's giving void, it's giving no thoughts head empty πŸ’…


🌈 SEE ALSO 🌈


that's the whole page, periodt πŸ’œ this was libssh2 version 0.15, dated 1 Jun 2007 β€” yeah bestie, this one's an elder, but she still ate 🫢✨