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

RETURN VALUE

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

ERRORS

25       LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
26

SEE ALSO

28       libssh2_channel_wait_eof(3) libssh2_channel_eof(3)
29
30
31
32libssh2 0.15                      1 Jun 2007       libssh2_channel_send_eof(3)
Impressum