diff options
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -306,14 +306,14 @@ ruby_default_signal(int sig) /* * call-seq: * Process.kill(signal, pid, ...) => fixnum - * + * * Sends the given signal to the specified process id(s), or to the * current process if _pid_ is zero. _signal_ may be an * integer signal number or 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. - * + * * pid = fork do * Signal.trap("HUP") { puts "Ouch!"; exit } * # ... do some work ... @@ -321,9 +321,9 @@ ruby_default_signal(int sig) * # ... * Process.kill("HUP", pid) * Process.wait - * + * * <em>produces:</em> - * + * * Ouch! */ |