libssh2_channel_signal_ex.3 (1052B)
1.TH libssh2_channel_signal_ex 3 "20 Apr 2023" "libssh2 1.11.0" "libssh2" 2.SH NAME 3libssh2_channel_signal_ex -- Send a signal to process previously opened on channel. 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_channel_signal_ex(LIBSSH2_CHANNEL *channel, 10 const char *signame, 11 size_t signame_len) 12.fi 13.SH DESCRIPTION 14A signal can be delivered to the remote process/service. Some servers or 15systems may not implement signals, in which case they will probably ignore this 16message. 17 18\fIchannel\fP - Previously opened channel instance such as returned by 19.BR libssh2_channel_open_ex(3) 20 21\fIsigname\fP - The signal name is the same as the signal name constant, without the leading "SIG". 22 23\fIsigname_len\fP - Length of passed signal name parameter. 24 25There is also a macro \fIlibssh2_channel_signal(channel, signame)\fP that supplies the strlen of the signame. 26.SH RETURN VALUE 27Normal channel error codes. 28LIBSSH2_ERROR_EAGAIN when it would block. 29.SH SEE ALSO 30.BR libssh2_channel_get_exit_signal(3)