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

NAME

6       libssh2_channel_send_eof - send EOF to remote server
7

SYNOPSIS

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

DESCRIPTION

15       Tell the remote host that no further data will be sent on the specified
16       channel. Processes typically interpret this as a closed stdin  descrip‐
17       tor.
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
26

ERRORS

28       LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
29
30

SEE ALSO

32       libssh2_channel_wait_eof(3) libssh2_channel_eof(3)
33
34
35
36libssh2 0.15                      1 Jun 2007       libssh2_channel_send_eof(3)
Impressum