aboutsummaryrefslogtreecommitdiffstats
path: root/man/libsimple_difftimespec.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_difftimespec.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 '')
-rw-r--r--man/libsimple_difftimespec.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man/libsimple_difftimespec.3 b/man/libsimple_difftimespec.3
index af0f7e3..49d4faa 100644
--- a/man/libsimple_difftimespec.3
+++ b/man/libsimple_difftimespec.3
@@ -1,6 +1,6 @@
.TH LIBSIMPLE_DIFFTIMESPEC 3 2018-10-29 libsimple
.SH NAME
-libsimple_difftimespec \- calculate the difference of two durations
+libsimple_difftimespec, libsimple_difftimeval \- calculate the difference of two durations
.SH SYNOPSIS
.nf
#include <libsimple.h>
@@ -38,7 +38,7 @@ The
and
.BR libsimple_difftimeval ()
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
@@ -53,21 +53,21 @@ The result is too large or too small to be stored; if the
result is too large
.I *diff
will be set to
-.I {.tv_sec=TIME_MAX,tv_nsec=999999999L}
+.I {.tv_sec=TIME_MAX,.tv_nsec=999999999L}
for the
.BR libsimple_difftimespec ()
function and to
-.I {.tv_sec=TIME_MAX,tv_usec=999999L}
+.I {.tv_sec=TIME_MAX,.tv_usec=999999L}
for the
.BR libsimple_difftimeval ()
function, if the result is too small
.I *diff
will be set to
-.I {.tv_sec=TIME_MIN,tv_nsec=0}
+.I {.tv_sec=TIME_MIN,.tv_nsec=0}
for the
.BR libsimple_difftimespec ()
function and to
-.I {.tv_sec=TIME_MIN,tv_usec=0}
+.I {.tv_sec=TIME_MIN,.tv_usec=0}
for the
.BR libsimple_difftimeval ()
function.