1libssh2_session_free(3)         libssh2 manual         libssh2_session_free(3)
2
3
4

NAME

6       libssh2_session_free  -  frees  resources  associated  with  a  session
7       instance
8

SYNOPSIS

10       #include <libssh2.h>
11
12       int libssh2_session_free(LIBSSH2_SESSION *session);
13

DESCRIPTION

15       Frees all resources  associated  with  a  session  instance.  Typically
16       called after libssh2_session_disconnect_ex(3)
17

RETURN VALUE

19       Return   0  on  success  or  negative  on  failure.   It  returns  LIB‐
20       SSH2_ERROR_EAGAIN  when  it   would   otherwise   block.   While   LIB‐
21       SSH2_ERROR_EAGAIN  is  a negative number, it isn't really a failure per
22       se.
23

SEE ALSO

25       libssh2_session_init_ex(3) libssh2_session_disconnect_ex(3)
26
27
28
29libssh2 0.15                      1 Jun 2007           libssh2_session_free(3)
Impressum