1libssh2_channel_get_exit_status(3) libssh2 libssh2_channel_get_exit_status(3)
2
3
4
6 libssh2_channel_get_exit_status - get the remote exit code
7
9 #include <libssh2.h>
10
11 int
12 libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)
13
15 channel - Closed channel stream to retrieve exit status from.
16
17 Returns the exit code raised by the process running on the remote host
18 at the other end of the named channel. Note that the exit status may
19 not be available if the remote end has not yet set its status to
20 closed.
21
23 Returns 0 on failure, otherwise the Exit Status reported by remote host
24
25
26
27libssh2 0.15 1 Jun 2007libssh2_channel_get_exit_status(3)