Ubuntu Manpages

int libssh2_session_get_blocking(LIBSSH2_SESSION *session);

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.

See description.

libssh2_session_set_blocking(3)