aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 00:59:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 00:59:34 +0000
commitb9ad698c8711ddb10e812b809522a865e4175718 (patch)
tree8589fff43e4947f95e3e989dd4d7034a6955e6a9 /process.c
parentf27d4354c837434a1e67fc20422c6f96bbe8dc69 (diff)
downloadruby-b9ad698c8711ddb10e812b809522a865e4175718.tar.gz
process.c: [DOC] fix markups [ci skip]
* process.c (rb_clock_getres): fix code markups, as `+` can not include parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/process.c b/process.c
index 87780f74bd..68a3197909 100644
--- a/process.c
+++ b/process.c
@@ -7906,7 +7906,7 @@ rb_clock_gettime(int argc, VALUE *argv)
*
* +clock_id+ can be a symbol as +Process.clock_gettime+.
* However the result may not be accurate.
- * For example, +Process.clock_getres(:GETTIMEOFDAY_BASED_CLOCK_REALTIME)+
+ * For example, <code>Process.clock_getres(:GETTIMEOFDAY_BASED_CLOCK_REALTIME)</code>
* returns 1.0e-06 which means 1 microsecond, but actual resolution can be more coarse.
*
* If the given +clock_id+ is not supported, Errno::EINVAL is raised.
@@ -7923,10 +7923,10 @@ rb_clock_gettime(int argc, VALUE *argv)
* the clock ticks per second for times() function and
* CLOCKS_PER_SEC for clock() function.
*
- * +Process.clock_getres(:TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)+
+ * <code>Process.clock_getres(:TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)</code>
* returns the clock ticks per second.
*
- * +Process.clock_getres(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)+
+ * <code>Process.clock_getres(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID, :hertz)</code>
* returns CLOCKS_PER_SEC.
*
* p Process.clock_getres(Process::CLOCK_MONOTONIC)