summaryrefslogtreecommitdiff
path: root/man3/clock.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-07-09 20:25:04 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-07-09 20:25:04 +0000
commite5056894879d7053f0d406994e966a8496665ff5 (patch)
treec3bed5dfec731b1a602bcf95b4a7ea0b9f66f467 /man3/clock.3
parenta9b4ebbc8f99cd01f77f909ef7c93f9dbae47b5c (diff)
ffix
Diffstat (limited to 'man3/clock.3')
-rw-r--r--man3/clock.39
1 files changed, 6 insertions, 3 deletions
diff --git a/man3/clock.3 b/man3/clock.3
index 7fa24b7f..de24b0e3 100644
--- a/man3/clock.3
+++ b/man3/clock.3
@@ -44,10 +44,12 @@ to get the number of seconds used, divide by
.BR CLOCKS_PER_SEC .
If the processor time used is not available or its value cannot
be represented, the function returns the value
-.BR (clock_t)\-1 .
+.IR (clock_t)\-1 .
.SH "CONFORMING TO"
C89, C99, POSIX.1-2001.
-POSIX requires that CLOCKS_PER_SEC equals 1000000 independent
+POSIX requires that
+.B CLOCKS_PER_SEC
+equals 1000000 independent
of the actual resolution.
.SH NOTES
The C standard allows for arbitrary values at the start of the program;
@@ -57,7 +59,8 @@ at the start of the program to get maximum portability.
.PP
Note that the time can wrap around.
On a 32-bit system where
-CLOCKS_PER_SEC equals 1000000 this function will return the same
+.B CLOCKS_PER_SEC
+equals 1000000 this function will return the same
value approximately every 72 minutes.
.PP
On several other implementations,