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

NAME

6       libssh2_channel_wait_closed - wait for the remote to close the channel
7

SYNOPSIS

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

DESCRIPTION

15       Enter a temporary blocking state until the remote host closes the named
16       channel. Typically sent  after  libssh2_channel_close(3)  in  order  to
17       examine the exit status.
18
19

RETURN VALUE

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

SEE ALSO

27       libssh2_channel_send_eof(3)    libssh2_channel_eof(3)     libssh2_chan‐
28       nel_wait_eof(3)
29
30
31
32libssh2 0.19                      29 Nov 2007   libssh2_channel_wait_closed(3)
Impressum