libssh2_channel_request_pty(3) on Linux
The text f7b4d6780a1b, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy) shipped it.
convenience macro for libssh2_channel_request_pty_ex(3) calls