aboutsummaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-28 03:33:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-28 03:33:35 +0000
commitde0ef1a9dfd9f966ad7e667788f3e333944d959e (patch)
tree53bbb3c3560a6f548021486afbf423e740740774 /signal.c
parent832bc50768fe42f95f8dda0483f0ba1556175c9d (diff)
downloadruby-de0ef1a9dfd9f966ad7e667788f3e333944d959e.tar.gz
[DOC] fix markups [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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