summaryrefslogtreecommitdiffstats
path: root/man3/clock.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/clock.3')
-rw-r--r--man3/clock.316
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/clock.3 b/man3/clock.3
index 292a0c137..fe8de92d6 100644
--- a/man3/clock.3
+++ b/man3/clock.3
@@ -33,7 +33,7 @@ be represented, the function returns the value
.IR (clock_t)\ \-1 .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -56,7 +56,7 @@ the value returned by
.BR clock ()
also includes the times of any children whose status has been
collected via
-.BR wait (2)
+.MR wait 2
(or another wait-type call).
Linux does not include the times of waited-for children in the
value returned by
@@ -66,7 +66,7 @@ value returned by
.\" POSIX.1-2001 doesn't explicitly allow this, nor is there an
.\" explicit prohibition. -- MTK
The
-.BR times (2)
+.MR times 2
function, which explicitly returns (separate) information about the
caller and its children, may be preferable.
.SH STANDARDS
@@ -77,10 +77,10 @@ POSIX.1-2001, C89.
In glibc 2.17 and earlier,
.BR clock ()
was implemented on top of
-.BR times (2).
+.MR times 2 .
For improved accuracy,
since glibc 2.18, it is implemented on top of
-.BR clock_gettime (2)
+.MR clock_gettime 2
(using the
.B CLOCK_PROCESS_CPUTIME_ID
clock).
@@ -96,6 +96,6 @@ On a 32-bit system where
equals 1000000 this function will return the same
value approximately every 72 minutes.
.SH SEE ALSO
-.BR clock_gettime (2),
-.BR getrusage (2),
-.BR times (2)
+.MR clock_gettime 2 ,
+.MR getrusage 2 ,
+.MR times 2