aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-05-15 13:42:38 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-05-15 13:42:38 +0200
commit32cd45612bd89714f5c597f6d9ac8c51510e3df4 (patch)
tree9dd512a2b46d62e8309a61fda9ecf865bfabf735 /src
parentd4838d4dc8613972ecc193b69f9893e9cd42c2c5 (diff)
downloadlibssh-32cd45612bd89714f5c597f6d9ac8c51510e3df4.tar.gz
libssh-32cd45612bd89714f5c597f6d9ac8c51510e3df4.tar.xz
libssh-32cd45612bd89714f5c597f6d9ac8c51510e3df4.zip
channel: Improve the request signal documentation.
Diffstat (limited to 'src')
-rw-r--r--src/channels.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index 913b61b3..d5056618 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -2223,10 +2223,26 @@ error:
* In such a case this request will be silently ignored.
* Only SSH-v2 is supported (I'm not sure about SSH-v1).
*
+ * OpenSSH doesn't support signals yet, see:
+ * https://bugzilla.mindrot.org/show_bug.cgi?id=1424
+ *
* @param[in] channel The channel to send signal.
*
* @param[in] sig The signal to send (without SIG prefix)
- * (e.g. "TERM" or "KILL").
+ * \n\n
+ * SIGABRT -> ABRT \n
+ * SIGALRM -> ALRM \n
+ * SIGFPE -> FPE \n
+ * SIGHUP -> HUP \n
+ * SIGILL -> ILL \n
+ * SIGINT -> INT \n
+ * SIGKILL -> KILL \n
+ * SIGPIPE -> PIPE \n
+ * SIGQUIT -> QUIT \n
+ * SIGSEGV -> SEGV \n
+ * SIGTERM -> TERM \n
+ * SIGUSR1 -> USR1 \n
+ * SIGUSR2 -> USR2 \n
*
* @return SSH_OK on success, SSH_ERROR if an error occured
* (including attempts to send signal via SSH-v1 session).