libssh2_scp_send(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_scp_send πŸ’–

okay bestie, we're in the libssh2 man pages and this one is, like, the shortcut page. it's short. it's sweet. it's literally a macro. let's get into it ✨


🌸 NAME 🌸

libssh2_scp_send β€” a convenience macro for libssh2_scp_send_ex(3) calls 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <libssh2.h>

LIBSSH2_CHANNEL *
libssh2_scp_send(LIBSSH2_SESSION *session, const char *path,
                 int mode, size_t size);

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this is a macro, and it lives in a public libssh2 header file. that's the whole thing. it's not out here doing the heavy lifting itself β€” it's using the underlying function libssh2_scp_send_ex(3) to actually get stuff done. iconic delegation honestly πŸ’…

like, think of it as the cute lil wrapper that shows up to the group chat and goes "yeah just call libssh2_scp_send_ex(3)". the real lore β€” the full rundown, the everything β€” is over on that page. this one is giving pit stop. πŸš—βœ¨


⭐ RETURN VALUE ⭐

see libssh2_scp_send_ex(3) β€” that's where the answers live, bestie πŸ‘‘


πŸ’€ ERRORS πŸ’€

also libssh2_scp_send_ex(3). yeah. this page is really committed to the "go read the other page" bit and honestly? respect. 😭


🌈 SEE ALSO 🌈


no cap, this was the shortest manpage ever and i'm obsessed with it for that πŸŽ€πŸ’œ

this has been libssh2 version 1.2.4, dated 20 Feb 2010 β€” and yes she's an old queen but she still slays πŸ‘‘πŸ¦‹ bye bestie, go read libssh2_scp_send_ex(3) fr fr πŸ’–