path: root/signal.c
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-10 07:09:45 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-10 07:09:45 (GMT)
commiteae536ec3a41a1cade59a87db110f56456eff3ba (patch)
tree6de245e6893d3455db0198aa5a77f14de0660a51 /signal.c
parent79c0b7fcc86f5283ba3de22720eebf554b8e267c (diff)
signal.c: signal list to kill
* signal.c (rb_f_kill): [DOC] mention known signal list. [ruby-core:66162] [Bug #10492] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index 5098b8d..a3f4a20 100644
--- a/signal.c
+++ b/signal.c
@@ -374,6 +374,8 @@ static void signal_enque(int sig);
* a POSIX signal name (either with or without a +SIG+ prefix). If _signal_ is
* negative (or starts with a minus sign), kills process groups instead of
* processes. Not all signals are available on all platforms.
+ * The keys and values of +Signal.list+ are known signal names and numbers,
+ * respectively.
* pid = fork do
* Signal.trap("HUP") { puts "Ouch!"; exit }