Libssh2 channel send eof
From Libssh2
int libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
[edit]
About
Tell the remote host that no further data will be sent on the specified channel. Processes typically interpret this as a closed stdin descriptor.
[edit]
Parameters
- channel
- Active channel stream to set EOF status on.
[edit]
Returns
- On Success: 0
- On Failure: -1
