/ | Mailing list | Docs | Examples | GitHub
libssh2_session_last_errno

Name

libssh2_session_last_errno - get the most recent error number

Synopsis

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

Description

session - Session instance as returned by libssh2_session_init_ex

Determine the most recent error condition.

Return value

Numeric error code corresponding to the the Error Code constants.

See also

libssh2_session_last_error libssh2_session_set_last_error

This HTML page was made with roffit.