libssh2_channel_write(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_write ✨

ok bestie so this is libssh2_channel_write from the libssh2 manual, and it's literally just a cute little convenience macro for libssh2_channel_write_ex(3). no cap. it's giving "wrapper energy" πŸ’…


πŸŽ€ NAME πŸŽ€

libssh2_channel_write β€” convenience macro for libssh2_channel_write_ex(3)


🌸 SYNOPSIS 🌸

#include <libssh2.h>

ssize_t
libssh2_channel_write(LIBSSH2_CHANNEL *channel,
                      const char *buf, size_t buflen);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. this is a macro, and it lives in a public libssh2 header file β€” like, it's right there in the open, not hidden away in some private corner. and what does this macro do? it uses the underlying function libssh2_channel_write_ex(3). that's it. that's the whole vibe. it's the friend who shows up to the party and is like "yeah I'm with them" 🫢


πŸ’– RETURN VALUE πŸ’–

See libssh2_channel_write_ex(3) β€” go look at the real one, bestie, it's got the answers πŸ“–βœ¨


πŸ’€ ERRORS πŸ’€

See libssh2_channel_write_ex(3) β€” same deal, the details live over there πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page!! 🌈 this little icon comes to you from libssh2 1.2.4, dated 20 Feb 2010 β€” yeah it's an oldie but a goodie, vintage fr fr πŸŽ€βœ¨πŸ’œ