libssh2_channel_read_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_read_stderr(3) πŸ’–

okay bestie, welcome to the libssh2 manual, this one's a lil baby page but it's important, trust 🫢


✨ NAME ✨

libssh2_channel_read_stderr β€” it's giving "convenience macro for libssh2_channel_read_ex(3) calls" πŸ’…


✨ SYNOPSIS ✨

#include <libssh2.h>

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

✨ DESCRIPTION ✨

so like. this is a macro, right? it lives in a public libssh2 header file 🌸 and it's literally just vibing on top of the real underlying function, which is libssh2_channel_read_ex(3).

that's it. that's the whole description. she's a shortcut, she's efficient, she ate and left no crumbs πŸ‘‘


✨ RETURN VALUE ✨

no thoughts, head empty β€” just go see libssh2_channel_read_ex(3) πŸ’–


✨ ERRORS ✨

same energy fr fr, the errors live over at libssh2_channel_read_ex(3) πŸ¦‹


✨ SEE ALSO ✨


bestie reminder: this macro doesn't do anything on its own, she's just a lil wrapper. all the real lore (returns, errors, the whole plot) is in libssh2_channel_read_ex(3). don't come for me, come for her πŸ’€

and that's the page!! libssh2 1.2.4, dated 20 Feb 2010 β€” yeah she's an icon from way back, still slaying in the libssh2 docs to this very day πŸ‘‘βœ¨ mwah, ily, go read the exit codes in the other page πŸŽ€