From eae536ec3a41a1cade59a87db110f56456eff3ba Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 10 Nov 2014 07:09:45 +0000 Subject: [PATCH] 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://ci.ruby-lang.org/ruby/trunk@48358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ signal.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6fc58dd460..c39785247d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 10 16:09:43 2014 Nobuyoshi Nakada + + * signal.c (rb_f_kill): [DOC] mention known signal list. + [ruby-core:66162] [Bug #10492] + Mon Nov 10 14:17:58 2014 SHIBATA Hiroshi * lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c) diff --git a/signal.c b/signal.c index 5098b8ddb3..a3f4a20774 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 }