libssh2_sftp_rmdir(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_rmdir(3) πŸ’–

okay bestie, welcome to the libssh2 manual pages, the corner of the terminal where we make C libraries feel like a group chat 🫢


✨ NAME ✨

libssh2_sftp_rmdir β€” a convenience macro for libssh2_sftp_rmdir_ex(3) πŸ’…

like, it's the lil shortcut version. the main character is libssh2_sftp_rmdir_ex(3), and this one is its glamorous assistant πŸŽ€


🌸 SYNOPSIS 🌸

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

#define libssh2_sftp_rmdir(sftp, path) \
    libssh2_sftp_rmdir_ex((sftp), (path), strlen(path))

look at her. two includes, one macro, zero drama ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, fr fr: this is a macro that lives in a public libssh2 header file, and what it does is it uses the underlying function libssh2_sftp_rmdir_ex(3) 🫢

that's it. that's the whole vibe. she's a wrapper, she's lowkey humble, she just hands your sftp and your path straight over to the real one, plus a strlen(path) so you don't gotta count the letters yourself πŸ™ˆ

no cap, the way she saves you from typing out the length argument every single time? iconic. ate. πŸ‘‘


πŸ’€ RETURN VALUE πŸ’€

see libssh2_sftp_rmdir_ex(3) β€” she doesn't gatekeep the return value, she just points you at the source ⭐


😭 ERRORS 😭

see libssh2_sftp_rmdir_ex(3) β€” same deal, all the error deets live over there 🌈


🧚 SEE ALSO 🧚


reminder bestie: this page is a shortcut and nothing else β€” every return value and every error belongs to libssh2_sftp_rmdir_ex(3), so go read that one for the actual facts πŸ’œ

and that's the whole page, periodt πŸ’… this lil cutie comes to you from libssh2 1.2.4, dated 20 Feb 2010, and yes she's been slaying since 2010 and still looks this good πŸŽ€πŸ’– stay hydrated, read your manpages, mwah 🌸