libssh2_session_free.3 (665B)
1.TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_session_free - frees resources associated with a session instance 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_session_free(LIBSSH2_SESSION *session); 10.fi 11.SH DESCRIPTION 12Frees all resources associated with a session instance. Typically called after 13.BR libssh2_session_disconnect_ex(3) 14.SH RETURN VALUE 15Return 0 on success or negative on failure. It returns 16LIBSSH2_ERROR_EAGAIN when it would otherwise block. While 17LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se. 18.SH SEE ALSO 19.BR libssh2_session_init_ex(3) 20.BR libssh2_session_disconnect_ex(3)