1libssh2_channel_signal_ex(3)        libssh2       libssh2_channel_signal_ex(3)
2
3
4

NAME

6       libssh2_channel_signal_ex -- Send a signal to process previously opened
7       on channel.
8

SYNOPSIS

10       #include <libssh2.h>
11
12       int
13       libssh2_channel_signal_ex(LIBSSH2_CHANNEL *channel,
14                                 const char *signame,
15                                 size_t signame_len)
16

DESCRIPTION

18       A signal can be delivered to the remote process/service.  Some  servers
19       or  systems may not implement signals, in which case they will probably
20       ignore this message.
21
22       channel - Previously opened channel instance such as returned  by  lib‐
23       ssh2_channel_open_ex(3)
24
25       signame  -  The  signal  name  is the same as the signal name constant,
26       without the leading "SIG".
27
28       signame_len - Length of passed signal name parameter.
29
30       There is also a  macro  libssh2_channel_signal(channel,  signame)  that
31       supplies the strlen of the signame.
32

RETURN VALUE

34       Normal channel error codes.  LIBSSH2_ERROR_EAGAIN when it would block.
35

SEE ALSO

37       libssh2_channel_get_exit_signal(3)
38
39
40
41libssh2 1.11.0                    20 Apr 2023     libssh2_channel_signal_ex(3)
Impressum