geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
753 B

  1. .TH libssh2_channel_send_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_send_eof - send EOF to remote server
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
  8. .SH DESCRIPTION
  9. Tell the remote host that no further data will be sent on the specified
  10. channel. Processes typically interpret this as a closed stdin descriptor.
  11. .SH RETURN VALUE
  12. Return 0 on success or negative on failure. It returns
  13. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  14. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  15. .SH ERRORS
  16. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
  17. .SH SEE ALSO
  18. .BR libssh2_channel_wait_eof(3)
  19. .BR libssh2_channel_eof(3)