libssh2_channel_get_exit_status.3 (642B)
1.TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_channel_get_exit_status - get the remote exit code 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel) 10.fi 11.SH DESCRIPTION 12\fIchannel\fP - Closed channel stream to retrieve exit status from. 13 14Returns the exit code raised by the process running on the remote host at 15the other end of the named channel. Note that the exit status may not be 16available if the remote end has not yet set its status to closed. 17.SH RETURN VALUE 18Returns 0 on failure, otherwise the \fIExit Status\fP reported by remote host