libssh2\_channel\_request\_pty(3) libssh2 libssh2\_channel\_request\_pty(3)

# [NAME](#NAME)

libssh2\_channel\_request\_pty - convenience macro for [*libssh2\_channel\_request\_pty\_ex(3)*](/man/os/libssh2/libssh2_channel_request_pty_ex.3) calls

# [SYNOPSIS](#SYNOPSIS)

```
#include <libssh2.h>
int
libssh2_channel_request_pty(LIBSSH2_SESSION *session, const char *term);
```

# [DESCRIPTION](#DESCRIPTION)

This is a macro defined in a public libssh2 header file that is using the underlying function [*libssh2\_channel\_request\_pty\_ex(3)*](/man/os/libssh2/libssh2_channel_request_pty_ex.3).

# [RETURN VALUE](#RETURN_VALUE)

See [*libssh2\_channel\_request\_pty\_ex(3)*](/man/os/libssh2/libssh2_channel_request_pty_ex.3)

# [ERRORS](#ERRORS)

See [*libssh2\_channel\_request\_pty\_ex(3)*](/man/os/libssh2/libssh2_channel_request_pty_ex.3)

# [SEE ALSO](#SEE_ALSO)

[**libssh2\_channel\_request\_pty\_ex(3)**](/man/os/libssh2/libssh2_channel_request_pty_ex.3)

20 Feb 2010 libssh2 1.2.4

---

Document: libssh2_channel_request_pty(3) from libssh2 1.11.1-r11 (Chainguard OS)
Source: https://github.com/libssh2/libssh2.git
