aboutsummaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/signal.c b/signal.c
index 631fdae4e0..fffc65ce0c 100644
--- a/signal.c
+++ b/signal.c
@@ -424,7 +424,7 @@ 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,
+ * The keys and values of Signal.list are known signal names and numbers,
* respectively.
*
* pid = fork do
@@ -439,15 +439,14 @@ static void signal_enque(int sig);
*
* 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
- * signal name, +ArgumentError+ will be raised.
+ * If _signal_ is an integer but wrong for signal, Errno::EINVAL or
+ * RangeError will be raised. Otherwise unless _signal_ is a String
+ * or a Symbol, and a known signal 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.
+ * Also, Errno::ESRCH or RangeError for invalid _pid_, Errno::EPERM
+ * when failed because of no privilege, will be raised. In these
+ * cases, signals may have been sent to preceding processes.
*/
VALUE