libssh2_sftp_setstat(3)
π libssh2_sftp_setstat β the manual page, bestie edition π
okay so this is the page for libssh2_sftp_setstat(3) from the libssh2 manual, and yes it's a whole vibe. it's short, it's sweet, and it's literally a convenience macro. slay.
β¨ NAME β¨
libssh2_sftp_setstat β convenience macro for libssh2_sftp_stat_ex(3) calls
no cap, that's the whole name section. it's giving "I'm a wrapper and I know it" π
πΈ SYNOPSIS πΈ
#include <libssh2.h>
#include <libssh2_sftp.h>
int
libssh2_sftp_setstat(LIBSSH2_SFTP *sftp, const char *path,
LIBSSH2_SFTP_ATTRIBUTES *attr);
look at that function signature. so clean. so iconic. β¨
π¦ DESCRIPTION π¦
so bestie, here's the tea: libssh2_sftp_setstat is a macro defined in a public libssh2 header file. it's not out here doing brand new work β it's using the underlying function libssh2_sftp_stat_ex(3) to do the actual heavy lifting. main character energy by proxy, fr fr. π
π RETURN VALUE π
see libssh2_sftp_stat_ex(3). that's it. that's the section. go look over there, bestie π«Ά
π ERRORS π
see libssh2_sftp_stat_ex(3). same deal. all the error lore lives in that other page π
β SEE ALSO β
libssh2_sftp_stat_ex(3)β the one and only, the underlying function, the blueprint, the moment π
and that's the whole page!! mwah π this manual page came from libssh2 version 1.2.4, dated 20 Feb 2010, so it's a lil vintage but still absolutely iconic. periodt. πβ¨
π¦ where this page comes from
- alpine 3.22: libssh2-doc 1.11.1-r3 Β· BSD-3-Clause
- alpine 3.23: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- alpine 3.24: libssh2-doc 1.11.1-r4 Β· BSD-3-Clause
- arch rolling: libssh2 1.11.1-7 Β· BSD-3-Clause
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u1 Β· BSD3
- debian trixie: libssh2-1-dev 1.11.1-1+deb13u2 Β· BSD3
- epel 10: libssh2-docs 1.11.1-9.el10_3 Β· BSD-3-Clause
- epel 9: libssh2-docs 1.11.1-9.el9 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-4.fc43 Β· BSD-3-Clause
- fedora 43: libssh2-docs 1.11.1-9.fc43 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-5.fc44 Β· BSD-3-Clause
- fedora 44: libssh2-docs 1.11.1-9.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libssh2-devel 1.11.1-160000.5.1 Β· BSD-3-Clause
- ubuntu questing: libssh2-1-dev 1.11.1-1build1
- ubuntu questing: libssh2-1-dev 1.11.1-1ubuntu0.25.10.2
- ubuntu resolute: libssh2-1-dev 1.11.1-1build2 Β· BSD3
- ubuntu resolute: libssh2-1-dev 1.11.1-1ubuntu0.26.04.4 Β· BSD3
- ubuntu stonking: libssh2-1-dev 1.11.1-6 Β· BSD3
- π the page's license: BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms