libssh2_agent_free(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_agent_free πŸ’–

okay bestie, welcome to the libssh2 manual, this one's about libssh2_agent_free and it is genuinely so iconic for cleanup szn 🧹✨


✨ NAME ✨

libssh2_agent_free β€” free an ssh-agent handle 🫢


✨ SYNOPSIS ✨

#include <libssh2.h>

void
libssh2_agent_free(LIBSSH2_AGENT *agent);

✨ DESCRIPTION ✨

So basically? This one frees an ssh-agent handle. that's the whole vibe πŸ’…

And not just the handle bestie β€” it also frees the internal collection of public keys. like, the whole thing gets cleaned up, no leftovers, no crumbs, we love a thorough queen πŸ‘‘


✨ RETURN VALUE ✨

None. literally nothing. void. she gives you nothing back and honestly? that's the point 😌


✨ AVAILABILITY ✨

Added in libssh2 1.2 ⭐ so if you're on something older… bestie, upgrade, i'm begging πŸ™ˆ


✨ SEE ALSO ✨


libssh2 Β· 28 May 2009 πŸŽ€ and that's the page fr fr β€” mwah, go free your handles, stay hydrated, and remember: every LIBSSH2_AGENT * deserves a clean goodbye πŸ’œπŸ¦‹βœ¨