libssh2_channel_set_blocking.3 725 B

1234567891011121314151617181920212223
  1. .TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_set_blocking - set or clear blocking mode on channel
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. void
  7. libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);
  8. .SH DESCRIPTION
  9. \fIchannel\fP - channel stream to set or clean blocking status on.
  10. \fIblocking\fP - Set to a non-zero value to make the channel block, or zero to
  11. make it non-blocking.
  12. Currently this is just a short cut call to
  13. .BR libssh2_session_set_blocking(3)
  14. and therefore will affect the session and all channels.
  15. .SH RETURN VALUE
  16. None
  17. .SH SEE ALSO
  18. .BR libssh2_session_set_blocking(3)
  19. .BR libssh2_channel_read_ex(3)
  20. .BR libssh2_channel_write_ex(3)