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.
 
 
 
 

33 lines
1.0 KiB

  1. .TH libssh2_channel_flush_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_flush_ex - flush a channel
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel, int streamid);
  8. int
  9. libssh2_channel_flush(LIBSSH2_CHANNEL *channel);
  10. int
  11. libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel);
  12. .SH DESCRIPTION
  13. \fIchannel\fP - Active channel stream to flush.
  14. \fIstreamid\fP - Specific substream number to flush. Groups of substreams may
  15. be flushed by passing on of the following Constants.
  16. .br
  17. \fBLIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA\fP: Flush all extended data substreams
  18. .br
  19. \fBLIBSSH2_CHANNEL_FLUSH_ALL\fP: Flush all substreams
  20. Flush the read buffer for a given channel instance. Individual substreams may
  21. be flushed by number or using one of the provided macros.
  22. .SH RETURN VALUE
  23. Return 0 on success or negative on failure. It returns
  24. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  25. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.