@@ -8682,53 +8682,23 @@ get_PROCESS_ID(ID _x, VALUE *_y)
8682
8682
* with prefixed <tt>'-'</tt>,
8683
8683
* each process group with group ID +id+ is signalled.
8684
8684
*
8685
- * The actual signal values are platform dependent, an example of
8686
- * signal names which are supported on many platforms are:
8687
- *
8688
- * - +SIGHUP+: Hang up controlling terminal or process.
8689
- * - +SIGINT+: \Interrupt from keyboard, Ctrl-C by default in general.
8690
- * - +SIGQUIT+: Quit from keyboard, Ctrl-\ by default in general.
8691
- * - +SIGILL+: Illegal instruction.
8692
- * - +SIGTRAP+: Breakpoint for debugging.
8693
- * - +SIGIOT+: Abnormal termination.
8694
- * - +SIGBUS+: Bus error.
8695
- * - +SIGFPE+: Floating-point exception.
8696
- * - +SIGKILL+: Forced-process termination.
8697
- * - +SIGUSR1+: Available to processes.
8698
- * - +SIGSEGV+: Invalid memory reference.
8699
- * - +SIGUSR2+: Available to processes.
8700
- * - +SIGPIPE+: Write to pipe with no readers.
8701
- * - +SIGALRM+: Real-timer clock.
8702
- * - +SIGTERM+: \Process termination.
8703
- * - +SIGCHLD+: Child process stopped or terminated or got a signal if traced.
8704
- * - +SIGCONT+: Resume execution, if stopped.
8705
- * - +SIGSTOP+: Stop process execution, Ctrl-Z by default in general.
8706
- * - +SIGTSTP+: Stop process issued from tty.
8707
- * - +SIGTTIN+: Background process requires input.
8708
- * - +SIGTTOU+: Background process requires output.
8709
- * - +SIGURG+: Urgent condition on socket.
8710
- * - +SIGXCPU+: CPU time limit exceeded.
8711
- * - +SIGXFSZ+: File size limit exceeded.
8712
- * - +SIGVTALRM+: Virtual timer clock.
8713
- * - +SIGPROF+: Profile timer clock.
8714
- * - +SIGWINCH+: Window resizing.
8715
- * - +SIGPOLL+: I/O now possible.
8716
- * - +SIGPWR+: Power supply failure.
8717
- * - +SIGSYS+, +SIGUNUSED+: Bad system call.
8718
- *
8719
- * Use Signal.list to see which signals are supported, and the actual
8720
- * values.
8685
+ * Use method Signal.list to see which signals are supported
8686
+ * by Ruby on the underlying platform;
8687
+ * the method returns a hash of the string names
8688
+ * and non-negative integer values of the supported signals.
8689
+ * The size and content of the returned hash varies widely
8690
+ * among platforms.
8721
8691
*
8722
8692
* Additionally, signal +0+ is useful to determine if the process exists.
8723
8693
*
8724
8694
* Example:
8725
8695
*
8726
8696
* pid = fork do
8727
- * Signal.trap(" HUP" ) { puts " Ouch!" ; exit }
8697
+ * Signal.trap(' HUP' ) { puts ' Ouch!' ; exit }
8728
8698
* # ... do some work ...
8729
8699
* end
8730
8700
* # ...
8731
- * Process.kill(" HUP" , pid)
8701
+ * Process.kill(' HUP' , pid)
8732
8702
* Process.wait
8733
8703
*
8734
8704
* Output:
0 commit comments