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);
1213
DESCRIPTION
15channel - active channel stream to set closed status on.
1617
Check if the remote host has sent an EOF status for the selected
18stream.
1920
RETURN VALUE
22Returns 1 if the remote host has sent EOF, otherwise 0.
2324
25
26
libssh2 0.15 1 Jun 2007 libssh2_channel_eof(3)