aboutsummaryrefslogtreecommitdiffstats
path: root/man/libsimple_sumtimespec.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-10-30 18:08:15 +0100
committerMattias Andrée <maandree@kth.se>2018-10-30 18:26:18 +0100
commitabb471449efcb61571b6a63d3055598acafd9ffe (patch)
tree4ebd956ac77e09e588a370dfccd74615e4d8b044 /man/libsimple_sumtimespec.3
parentAdd man pages for {sum,diff,mul,cmp}time{spec,val} (diff)
downloadlibsimple-abb471449efcb61571b6a63d3055598acafd9ffe.tar.gz
libsimple-abb471449efcb61571b6a63d3055598acafd9ffe.tar.bz2
libsimple-abb471449efcb61571b6a63d3055598acafd9ffe.tar.xz
Add man pages for doubletotime{spec,val} and time{spec,val}todouble, and fix other man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/libsimple_sumtimespec.3')
-rw-r--r--man/libsimple_sumtimespec.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man/libsimple_sumtimespec.3 b/man/libsimple_sumtimespec.3
index 95dd30b..81632b8 100644
--- a/man/libsimple_sumtimespec.3
+++ b/man/libsimple_sumtimespec.3
@@ -1,6 +1,6 @@
.TH LIBSIMPLE_SUMTIMESPEC 3 2018-10-29 libsimple
.SH NAME
-libsimple_sumtimespec \- calculate the sum of two durations
+libsimple_sumtimespec, libsimple_sumtimeval \- calculate the sum of two durations
.SH SYNOPSIS
.nf
#include <libsimple.h>
@@ -35,7 +35,7 @@ The
and
.BR libsimple_sumtimeval ()
functions return 0 on successful completion;
-otherwise, \−1 is returned and
+otherwise, \-1 is returned and
.I errno
is set to indicate the error.
.SH ERRORS
@@ -50,21 +50,21 @@ The result is too large or too small to be stored; if the
result is too large
.I *sum
will be set to
-.I {.tv_sec=TIME_MAX,tv_nsec=999999999L}
+.I {.tv_sec=TIME_MAX,.tv_nsec=999999999L}
for the
.BR libsimple_sumtimespec ()
function and to
-.I {.tv_sec=TIME_MAX,tv_usec=999999L}
+.I {.tv_sec=TIME_MAX,.tv_usec=999999L}
for the
.BR libsimple_sumtimeval ()
function, if the result is too small
.I *sum
will be set to
-.I {.tv_sec=TIME_MIN,tv_nsec=0}
+.I {.tv_sec=TIME_MIN,.tv_nsec=0}
for the
.BR libsimple_sumtimespec ()
function and to
-.I {.tv_sec=TIME_MIN,tv_usec=0}
+.I {.tv_sec=TIME_MIN,.tv_usec=0}
for the
.BR libsimple_sumtimeval ()
function.