libssh2_channel_x11_req(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_channel_x11_req(3) πŸ’–

okay bestie, gather round, because this one is literally the shortest lil bop in the whole libssh2 manual β€” it's a page from the libssh2 manual and it's giving "I'm a macro, I don't do much, but I do it iconically" πŸ’…


✨ NAME ✨

libssh2_channel_x11_req β€” a convenience macro that just forwards everything to libssh2_channel_x11_req_ex(3) calls πŸŽ€


🌸 SYNOPSIS 🌸

#include <libssh2.h>

int
libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel, int screen_number);

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this isn't even a real function, bestie. it's a macro β€” defined right there in a public libssh2 header file β€” and all it does is use the underlying function libssh2_channel_x11_req_ex(3) under the hood. that's it. that's the whole vibe. no cap. 🫢

think of it as the cute lil front door and libssh2_channel_x11_req_ex(3) as the actual main character doing the work behind it. iykyk. ✨


πŸ’œ RETURN VALUE πŸ’œ

go look at libssh2_channel_x11_req_ex(3) β€” it's got you covered, fr fr. πŸ‘‘


πŸ’€ ERRORS πŸ’€

same situation, bestie: check libssh2_channel_x11_req_ex(3). this macro is not about to gatekeep error info from you, it just delegates. πŸ™ˆ


🌈 SEE ALSO 🌈


and that's the whole page!! short, sweet, slayed. this was libssh2 1.2.4, dated 20 Feb 2010 β€” and yes, that date is giving vintage but the macro still eats πŸ’– mwah, go read libssh2_channel_x11_req_ex(3) if you want the real lore βœ¨πŸ¦‹