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

NAME

6       libssh2_channel_free - free all resources associated with a channel
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int libssh2_channel_free(LIBSSH2_CHANNEL *channel);
12
13

DESCRIPTION

15       channel - Channel stream to free.
16
17       Release  all resources associated with a channel stream. If the channel
18       has not yet been closed with  libssh2_channel_close(3)  ,  it  will  be
19       called automatically so that the remote end may know that it can safely
20       free its own resources.
21
22

RETURN VALUE

24       Return  0  on  success  or  negative  on  failure.   It  returns   LIB‐
25       SSH2_ERROR_EAGAIN   when   it   would   otherwise   block.  While  LIB‐
26       SSH2_ERROR_EAGAIN is a negative number, it isn't really a  failure  per
27       se.
28
29

SEE ALSO

31       libssh2_channel_close(3)
32
33
34
35libssh2 0.15                      1 Jun 2007           libssh2_channel_free(3)
Impressum