mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
channel: Document SSH_AGAIN in ssh_channel_read().
BUG: https://red.libssh.org/issues/115
This commit is contained in:
@@ -2615,8 +2615,8 @@ static int ssh_channel_read_termination(void *s){
|
|||||||
* @param[in] is_stderr A boolean value to mark reading from the stderr flow.
|
* @param[in] is_stderr A boolean value to mark reading from the stderr flow.
|
||||||
*
|
*
|
||||||
* @return The number of bytes read, 0 on end of file or SSH_ERROR
|
* @return The number of bytes read, 0 on end of file or SSH_ERROR
|
||||||
* on error. Can return 0 if nothing is available in nonblocking
|
* on error. In nonblocking mode it Can return 0 if no data
|
||||||
* mode.
|
* is available or SSH_AGAIN.
|
||||||
*
|
*
|
||||||
* @warning This function may return less than count bytes of data, and won't
|
* @warning This function may return less than count bytes of data, and won't
|
||||||
* block until count bytes have been read.
|
* block until count bytes have been read.
|
||||||
|
Reference in New Issue
Block a user