1libssh2_channel_get_exit_status(3l)ibssh2 manuallibssh2_channel_get_exit_status(3)
2
3
4

NAME

6       libssh2_channel_get_exit_status - get the remote exit code
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)
12
13

DESCRIPTION

15       channel - Closed channel stream to retreive 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
22

RETURN VALUE

24       Returns 0 on failure, otherwise the Exit Status reported by remote host
25
26
27
28libssh2 0.15                      1 Jun 2007libssh2_channel_get_exit_status(3)
Impressum