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 resources associated with a session  instance.  Typically  called
16       after libssh2_session_disconnect(3)
17
18

RETURN VALUE

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

SEE ALSO

26       libssh2_session_init(3) libssh2_session_disconnect(3)
27
28
29
30libssh2 0.15                      1 Jun 2007           libssh2_session_free(3)
Impressum