1 .\" $Id: libssh2_channel_get_exit_status.3,v 1.1 2007/06/15 10:53:04 jehousley Exp $
3 .TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
5 libssh2_channel_get_exit_status - get the remote exit code
10 libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)
13 \fIchannel\fP - Closed channel stream to retreive exit status from.
15 Returns the exit code raised by the process running on the remote host at
16 the other end of the named channel. Note that the exit status may not be
17 available if the remote end has not yet set its status to closed.
20 Returns 0 on failure, otherwise the \fIExit Status\fP reported by remote host