1libssh2_channel_eof(3) libssh2 manual libssh2_channel_eof(3)
23
4
NAME
6libssh2_channel_eof - check a channel's EOF status
7
SYNOPSIS
9#include <libssh2.h>
1011
int libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
12
DESCRIPTION
14channel - active channel stream to set closed status on.
1516
Check if the remote host has sent an EOF status for the selected
17stream.
18
RETURN VALUE
20Returns 1 if the remote host has sent EOF, otherwise 0.
21
SEE ALSO
23libssh2_channel_close(3)
2425
26
27
libssh2 0.15 1 Jun 2007 libssh2_channel_eof(3)