libssh2_sftp_close(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_sftp_close πŸ’–

ok so bestie, welcome to the libssh2_sftp_close(3) page β€” that's the libssh2 manual, and this lil guy is a convenience macro for libssh2_sftp_close_handle(3) calls. no cap. ✨


🌸 NAME 🌸

libssh2_sftp_close β€” convenience macro for libssh2_sftp_close_handle(3) calls


πŸŽ€ SYNOPSIS πŸŽ€

#include <libssh2.h>
#include <libssh2_sftp.h>

int
libssh2_sftp_close(LIBSSH2_SFTP_HANDLE *handle);

πŸ¦‹ DESCRIPTION πŸ¦‹

so literally, this is a macro. it's defined in a public libssh2 header file (yes, the ones you just #included, bestie 🫢), and what it does is use the underlying function libssh2_sftp_close_handle(3).

that's it. that's the whole vibe. it's giving "middle manager who just forwards your email to the right department" and honestly? iconic. πŸ‘‘


✨ RETURN VALUE ✨

See libssh2_sftp_close_handle(3) β€” the details live over there, go peek πŸ’…


πŸ’€ ERRORS πŸ’€

See libssh2_sftp_close_handle(3)</purl> β€” yeah, same deal, the error tea is all in that page πŸ™ˆ


🌈 SEE ALSO 🌈


mwah πŸ’‹ this page is from libssh2 1.2.4, dated 20 Feb 2010 β€” a whole vintage moment, and she still slays. k bye bestie, go close that handle πŸŽ€βœ¨