aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_difftimespec.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-19 21:39:11 +0100
committerMattias Andrée <maandree@kth.se>2018-11-19 21:39:11 +0100
commite8a7e1c358caec60751460d337f634ff6957ff9d (patch)
treeb0fe92173edbf210d2890ecd35141cc39decf8dc /man3/libsimple_difftimespec.3
parentAdd memelemscan (diff)
downloadlibsimple-e8a7e1c358caec60751460d337f634ff6957ff9d.tar.gz
libsimple-e8a7e1c358caec60751460d337f634ff6957ff9d.tar.bz2
libsimple-e8a7e1c358caec60751460d337f634ff6957ff9d.tar.xz
Add a bunch of function and macros
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/libsimple_difftimespec.3')
-rw-r--r--man3/libsimple_difftimespec.39
1 files changed, 9 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 ()