1libssh2_channel_free(3)             libssh2            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
12       libssh2_channel_free(LIBSSH2_CHANNEL *channel);
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

RETURN VALUE

23       Return 0 on success or negative on  failure.   It  returns  LIBSSH2_ER‐
24       ROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is
25       a negative number, it is not really a failure per se.
26

SEE ALSO

28       libssh2_channel_close(3)
29
30
31
32libssh2 0.15                      1 Jun 2007           libssh2_channel_free(3)
Impressum