mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (rb_f_kill): added rdoc about exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
231fdd86ae
commit
6b60792135
1 changed files with 10 additions and 0 deletions
10
signal.c
10
signal.c
|
@ -325,6 +325,16 @@ ruby_default_signal(int sig)
|
|||
* <em>produces:</em>
|
||||
*
|
||||
* Ouch!
|
||||
*
|
||||
* If _signal_ is an integer but wrong for signal,
|
||||
* <code>Errno::EINVAL</code> or +RangeError+ will be raised.
|
||||
* Otherwise unless _signal_ is a +String+ or a +Symbol+, and a known
|
||||
* sinal name, +ArgumentError+ will be raised.
|
||||
*
|
||||
* Also, <code>Errno::ESRCH</code> or +RangeError+ for invalid _pid_,
|
||||
* <code>Errno::EPERM</code> when failed because of no privilege,
|
||||
* will be raised. In these cases, signals may have been sent to
|
||||
* preceding processes.
|
||||
*/
|
||||
|
||||
VALUE
|
||||
|
|
Loading…
Reference in a new issue