mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-11 17:22:40 +03:00
doc: Improve docs for ssh_channel_get_exit_status().
BUG: https://red.libssh.org/issues/154
This commit is contained in:
@@ -3060,6 +3060,11 @@ static int ssh_channel_exit_status_termination(void *c){
|
|||||||
* (yet).
|
* (yet).
|
||||||
* @warning This function may block until a timeout (or never)
|
* @warning This function may block until a timeout (or never)
|
||||||
* if the other side is not willing to close the channel.
|
* if the other side is not willing to close the channel.
|
||||||
|
*
|
||||||
|
* If you're looking for an async handling of this register a callback for the
|
||||||
|
* exit status.
|
||||||
|
*
|
||||||
|
* @see ssh_channel_exit_status_callback
|
||||||
*/
|
*/
|
||||||
int ssh_channel_get_exit_status(ssh_channel channel) {
|
int ssh_channel_get_exit_status(ssh_channel channel) {
|
||||||
int rc;
|
int rc;
|
||||||
|
Reference in New Issue
Block a user