libssh2_channel_request_pty_size(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_request_pty_size πŸ’–

okay bestie, welcome to the libssh2 manual, page three of the pty saga πŸŽ€ this one is short and sweet, no cap β€” it's literally a lil wrapper macro that hands your business over to its big sibling.


✨ NAME ✨

libssh2_channel_request_pty_size β€” a convenience macro that does libssh2_channel_request_pty_size_ex(3) calls for you 🫢


🌸 SYNOPSIS 🌸

#include <libssh2.h>

int
libssh2_channel_request_pty_size(LIBSSH2_CHANNEL *channel,
                                 int width, int height);

πŸ¦‹ DESCRIPTION πŸ¦‹

so the way that this works is… it's a macro, okay? Not a real function, a macro, and it lives in a public libssh2 header file πŸ“. And what does this macro do? It's out here using the underlying function libssh2_channel_request_pty_size_ex(3) underneath. That's it. That's the whole vibe. It's giving "middle manager who just forwards your email" energy πŸ’… but like, in a useful way.


⭐ RETURN VALUE ⭐

See libssh2_channel_request_pty_size_ex(3) πŸ‘€ (yes queen, the answers live over there)


πŸ’€ ERRORS πŸ’€

See libssh2_channel_request_pty_size_ex(3) 😭 same deal, all the error lore is in that one


πŸ”₯ SEE ALSO πŸ”₯


πŸ’‘ lowkey the whole page is just pointing at libssh2_channel_request_pty_size_ex(3), so if you want the actual tea, that's where it's at πŸ“

that's the page, bestie, you ate that 🧚 this was libssh2 1.2.4, dated 20 Feb 201, brought to you by the libssh2 girlies πŸ’œ slay, periodt ✨