libssh2\_session\_get\_blocking(3) libssh2 libssh2\_session\_get\_blocking(3)

# [NAME](#NAME)

libssh2\_session\_get\_blocking - evaluate blocking mode on session

# [SYNOPSIS](#SYNOPSIS)

```
#include <libssh2.h>
int
libssh2_session_get_blocking(LIBSSH2_SESSION *session);
```

# [DESCRIPTION](#DESCRIPTION)

Returns 0 if the state of the session has previously be set to non-blocking and it returns 1 if the state was set to blocking.

# [RETURN VALUE](#RETURN_VALUE)

See description.

# [SEE ALSO](#SEE_ALSO)

[**libssh2\_session\_set\_blocking(3)**](/man/os/libssh2/libssh2_session_set_blocking.3)

1 Jun 2007 libssh2 0.15

---

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