Convenience macro for libssh2_channel_request_pty_ex(3) calls
#include <libssh2.h>
int libssh2_channel_request_pty(LIBSSH2_SESSION *session, const char *term);
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_channel_request_pty_ex(3).