libssh2_channel_write_stderr(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_stderr ✨

okay bestie, welcome to the libssh2_channel_write_stderr(3) page β€” yes it's a whole page in the libssh2 manual, and no it is not gonna take long, because this one is a certified shortcut πŸ’…


🌸 NAME 🌸

libssh2_channel_write_stderr β€” the convenience macro for libssh2_channel_write_ex(3), aka the glow-up that saves your fingers from typing the long one 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libssh2.h>

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

look at her. so clean. so simple. iconic ✨


πŸ’– DESCRIPTION πŸ’–

so here's the tea, bestie πŸ“ β€” this is a macro, and she lives in a public libssh2 header file. That's the whole personality.

And what does she do? She's using the underlying function libssh2_channel_write_ex(3) under the hood. That's it. That's the vibe. She's the shortcut friend who just points you at the real one. No cap πŸ’€

not me writing a whole manpage for a macro, but she deserves her moment, fr fr πŸ‘‘

🌈 RETURN VALUE 🌈

ngl, the details live elsewhere β€” go check libssh2_channel_write_ex(3). She's got you πŸ’œ


πŸŽ€ ERRORS πŸŽ€

same situation, bestie β€” errors are documented over at libssh2_channel_write_ex(3). Run don't walk 🧚


⭐ SEE ALSO ⭐


and that's the page!! ty for coming to my ted talk 🌸 this lil writeup is from the libssh2 manual, version 1.2.4, dated 20 Feb 2010 β€” vintage but still slaying, periodt πŸ’–βœ¨πŸ¦‹