libssh2_channel_exec(3)
β¨ libssh2_channel_exec β bestie edition β¨
okay so this is the libssh2_channel_exec(3) page from the libssh2 manual, and honestly? it's a short one. a lil snack. a tiny king. but we're gonna give it the full main-character treatment anyway π
πΈ NAME πΈ
libssh2_channel_exec β it's a convenience macro for libssh2_channel_process_startup(3) calls π
π¦ SYNOPSIS π¦
#include <libssh2.h>
int
libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *command);
π DESCRIPTION π
okay so listen. this is not a real function, bestie β it's a macro, and it lives in a public libssh2 header file. that's the whole vibe. it's a little shortcut wrapper that's out here using the underlying function libssh2_channel_process_startup(3) to do the actual heavy lifting. the macro is giving "I'll make the call for you, you just sit there and look pretty" β¨
no cap, that's literally it. it's a convenience macro. it exists so you don't have to type the whole startup situation yourself. iconic behavior honestly π«Ά
π₯ RETURN VALUE π₯
see libssh2_channel_process_startup(3) β the receipts live over there, not here π
π ERRORS π
see libssh2_channel_process_startup(3) β same deal, all the error lore is on that page π§
π SEE ALSO π
libssh2_channel_process_startup(3)β the actual function doing all the work behind the scenes, the real MVP π
lowkey important reminder: this page does not define the return values or the errors itself, it just points you at libssh2_channel_process_startup(3) for both. so if you're out here debugging and confused, that's where you're going. periodt π
and that's the whole page, bestie!! π this one's from libssh2 1.2.4, dated 20 Feb 2010 β a true vintage queen, still slaying in the manual to this day. mwah πβ¨
π¦ where this page comes from
- alpine 3.22: libssh2-doc 1.11.1-r3 Β· BSD-3-Clause
- alpine 3.23: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- alpine 3.24: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- arch rolling: libssh2 1.11.1-7 Β· BSD-3-Clause
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u1 Β· BSD3
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u2 Β· BSD3
- epel 10: libssh2-docs 1.11.1-9.el10_3 Β· BSD-3-Clause
- epel 9: libssh2-docs 1.11.1-9.el9 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-4.fc43 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-9.fc43 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-5.fc44 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-9.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- ubuntu questing: libssh2-1-dev 1.11.1-1build1
- ubuntu questing: libssh2-1-dev 1.11.1-1ubuntu0.25.10.2
- ubuntu resolute: libssh2-1-dev 1.11.1-1build2 Β· BSD3
- ubuntu resolute: libssh2-1-dev 1.11.1-1ubuntu0.26.04.4 Β· BSD3
- ubuntu stonking: libssh2-1-dev 1.11.1-6 Β· BSD3
- π the page's license: BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms