aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/clock.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/clock.3')
-rw-r--r--lib/libc/gen/clock.311
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/gen/clock.3 b/lib/libc/gen/clock.3
index 9a17a04ab754..25ec42137e17 100644
--- a/lib/libc/gen/clock.3
+++ b/lib/libc/gen/clock.3
@@ -54,7 +54,7 @@ The
function
determines the amount of processor time used since the invocation of the
calling process, measured in
-.Dv CLOCKS_PER_SEC Ns 's
+.Dv CLOCKS_PER_SEC Ns s
of a second.
.Sh RETURN VALUES
The
@@ -69,3 +69,12 @@ The
.Fn clock
function conforms to
.St -isoC .
+However,
+.St -susv2
+requires
+.Dv CLOCKS_PER_SEC
+to be defined as one million.
+.Fx
+does not conform to this requirement;
+changing the value would introduce binary incompatibility
+and one million is still inadequate on modern processors.