1libssh2_channel_eof(3)              libssh2             libssh2_channel_eof(3)
2
3
4

NAME

6       libssh2_channel_eof - check a channel's EOF status
7

SYNOPSIS

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

DESCRIPTION

15       channel - active channel stream to set closed status on.
16
17       Check  if  the  remote  host  has  sent  an EOF status for the selected
18       stream.
19

RETURN VALUE

21       Returns 1 if the remote host has sent EOF,  otherwise  0.  Negative  on
22       failure.
23

SEE ALSO

25       libssh2_channel_close(3)
26
27
28
29libssh2 0.15                      1 Jun 2007            libssh2_channel_eof(3)
Impressum