Building the libssh2 and including a script to build it as UB
[printdrop.git] / libssh2 / share / man / man3 / libssh2_channel_eof.3
1 .\" $Id: libssh2_channel_eof.3,v 1.1 2007/06/13 17:22:15 jehousley Exp $
2 .\"
3 .TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
4 .SH NAME
5 libssh2_channel_eof - check a channel's EOF status
6 .SH SYNOPSIS
7 #include <libssh2.h>
8
9 int
10 libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
11
12 .SH DESCRIPTION
13 \fIchannel\fP - active channel stream to set closed status on.
14
15 Check if the remote host has sent an EOF status for the selected stream.
16
17 .SH RETURN VALUE
18 Returns 1 if the remote host has sent EOF, otherwise 0.