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

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

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