libssh2_channel_shell(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_shell πŸ’–

okay bestie, welcome to the libssh2 manual, page libssh2_channel_shell πŸ’… this one's short and sweet but it's literally the glow-up you need, so let's go ✨


🌸 NAME 🌸

libssh2_channel_shell β€” it's a convenience macro for libssh2_channel_process_startup(3) calls. that's it. that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libssh2.h>

int
libssh2_channel_shell(LIBSSH2_CHANNEL *channel);

look at her. one include, one function-looking thing, one LIBSSH2_CHANNEL *channel. iconic. no notes πŸ‘‘


✨ DESCRIPTION ✨

so here's the tea, bestie πŸ“ β€” this is not a real function, it's a macro defined in a public libssh2 header file. she's a wrapper, a little fairy godmother 🧚 that's using the underlying function:

that's the actual machinery doing the work. this macro is just the cute shortcut so your code stays lowkey readable. the way that abstraction ate and left no crumbs πŸ˜­πŸ’…


πŸ”₯ RETURN VALUE πŸ”₯

See libssh2_channel_process_startup(3) β€” she doesn't do her own returns, she outsources the drama πŸ™ˆ


πŸ’€ ERRORS πŸ’€

See libssh2_channel_process_startup(3) β€” same deal, all the error lore lives over there fr fr


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! mwah πŸ’‹

this little love letter is brought to you by libssh2 version 1.2.4, dated 20 Feb 2010 β€” an absolute vintage icon, no cap πŸŽ€βœ¨πŸ¦‹