aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/libsimple_difftimespec.39
-rw-r--r--man3/libsimple_multimespec.37
-rw-r--r--man3/libsimple_sumtimespec.39
3 files changed, 25 insertions, 0 deletions
diff --git a/man3/libsimple_difftimespec.3 b/man3/libsimple_difftimespec.3
index 49d4faa..bf26446 100644
--- a/man3/libsimple_difftimespec.3
+++ b/man3/libsimple_difftimespec.3
@@ -32,6 +32,15 @@ is subtracted by
.IR subtrahend )
and stores the result in
.IR diff .
+.PP
+These functions assume that
+.I minuend->tv_nsec
+and
+.I subtrahend->tv_nsec
+are in thier valid range ([0, 1000000000) for
+.BR libsimple_sumtimespec ()
+and [0, 1000000) for
+.BR libsimple_sumtimeval ())
.SH RETURN VALUE
The
.BR libsimple_difftimespec ()
diff --git a/man3/libsimple_multimespec.3 b/man3/libsimple_multimespec.3
index a55b7a2..34b352d 100644
--- a/man3/libsimple_multimespec.3
+++ b/man3/libsimple_multimespec.3
@@ -29,6 +29,13 @@ and
.I multiplier
and stores the result in
.IR prod .
+.PP
+These functions assume that
+.I multiplicand->tv_nsec
+is in its valid range ([0, 1000000000) for
+.BR libsimple_multimespec ()
+and [0, 1000000) for
+.BR libsimple_multimeval ()).
.SH RETURN VALUE
The
.BR libsimple_multimespec ()
diff --git a/man3/libsimple_sumtimespec.3 b/man3/libsimple_sumtimespec.3
index 81632b8..7d587e0 100644
--- a/man3/libsimple_sumtimespec.3
+++ b/man3/libsimple_sumtimespec.3
@@ -38,6 +38,15 @@ functions return 0 on successful completion;
otherwise, \-1 is returned and
.I errno
is set to indicate the error.
+.PP
+These functions assume that
+.I augend->tv_nsec
+and
+.I addend->tv_nsec
+are in thier valid range ([0, 1000000000) for
+.BR libsimple_sumtimespec ()
+and [0, 1000000) for
+.BR libsimple_sumtimeval ()).
.SH ERRORS
The
.BR libsimple_sumtimespec ()