Update documentation for Process.kill to reflect kill(2)
  Patch by Richo Healey


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2012-09-13 15:24:05 +00:00
Родитель 3207af4cb8
Коммит b1228caeff
2 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Fri Sep 14 00:20:00 2012 Zachary Scott <zzak@ruby-lang.org>
* signal.c (rb_f_kill):
Update documentation for Process.kill to reflect kill(2)
Patch by Richo Healey
Thu Sep 13 21:40:49 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com> Thu Sep 13 21:40:49 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* lib/securerandom.rb (SecureRandom.random_bytes): * lib/securerandom.rb (SecureRandom.random_bytes):

Просмотреть файл

@ -304,11 +304,11 @@ ruby_default_signal(int sig)
* call-seq: * call-seq:
* Process.kill(signal, pid, ...) -> fixnum * Process.kill(signal, pid, ...) -> fixnum
* *
* Sends the given signal to the specified process id(s), or to the * Sends the given signal to the specified process id(s) if _pid_ is positive.
* current process if _pid_ is zero. _signal_ may be an * If _pid_ is zero _signal_ is sent to all processes whose group ID is equal
* integer signal number or a POSIX signal name (either with or without * to the group ID of the process. _signal_ may be an integer signal number or
* a +SIG+ prefix). If _signal_ is negative (or starts * a POSIX signal name (either with or without a +SIG+ prefix). If _signal_ is
* with a minus sign), kills process groups instead of * negative (or starts with a minus sign), kills process groups instead of
* processes. Not all signals are available on all platforms. * processes. Not all signals are available on all platforms.
* *
* pid = fork do * pid = fork do