diff options
author | Mattias Andrée <maandree@kth.se> | 2018-11-19 21:39:11 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-11-19 21:39:11 +0100 |
commit | e8a7e1c358caec60751460d337f634ff6957ff9d (patch) | |
tree | b0fe92173edbf210d2890ecd35141cc39decf8dc /man3 | |
parent | Add memelemscan (diff) | |
download | libsimple-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 '')
-rw-r--r-- | man3/libsimple_difftimespec.3 | 9 | ||||
-rw-r--r-- | man3/libsimple_multimespec.3 | 7 | ||||
-rw-r--r-- | man3/libsimple_sumtimespec.3 | 9 |
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 () |