mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
79c0b7fcc8
commit
eae536ec3a
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Nov 10 16:09:43 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* signal.c (rb_f_kill): [DOC] mention known signal list.
|
||||
[ruby-core:66162] [Bug #10492]
|
||||
|
||||
Mon Nov 10 14:17:58 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c)
|
||||
|
|
2
signal.c
2
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 }
|
||||
|
|
Loading…
Reference in a new issue