Minor language problems
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
7d163f234b
commit
22a5077835
@@ -28,9 +28,9 @@
|
|||||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\" $Id$
|
.\" $Id: parse_time.3,v 1.3 2013/06/17 18:57:45 robert Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd October 31, 2004
|
.Dd November 17, 2013
|
||||||
.Dt PARSE_TIME 3
|
.Dt PARSE_TIME 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -54,28 +54,28 @@ The roken library (libroken, -lroken)
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn parse_time
|
.Fn parse_time
|
||||||
function converts a the period of time specified in
|
function converts the period of time specified
|
||||||
into a number of seconds.
|
into a number of seconds.
|
||||||
The
|
The
|
||||||
.Fa timespec
|
.Fa timespec
|
||||||
can be any number of
|
can be any number of
|
||||||
.Aq number unit
|
.Aq number unit
|
||||||
pairs separated by comma and whitespace. The number can be
|
pairs separated by comma and whitespace. The number can be
|
||||||
negative. Number without explicit units are taken as being
|
negative. Numbers without explicit units are taken as being
|
||||||
.Fa def_unit .
|
.Fa def_unit .
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn unparse_time
|
.Fn unparse_time
|
||||||
and
|
and
|
||||||
.Fn unparse_time_approx
|
.Fn unparse_time_approx
|
||||||
does the opposite of
|
do the opposite of
|
||||||
.Fn parse_time ,
|
.Fn parse_time ,
|
||||||
that is they take a number of seconds and express that as human
|
that is they take a number of seconds and express that as human
|
||||||
readable string.
|
readable strings.
|
||||||
.Fa unparse_time
|
.Fa unparse_time
|
||||||
produces an exact time, while
|
produces an exact time, while
|
||||||
.Fa unparse_time_approx
|
.Fa unparse_time_approx
|
||||||
restricts the result to only include one units.
|
restricts the result to include only one unit.
|
||||||
.Pp
|
.Pp
|
||||||
.Fn print_time_table
|
.Fn print_time_table
|
||||||
prints a descriptive list of available units on the passed file
|
prints a descriptive list of available units on the passed file
|
||||||
|
Reference in New Issue
Block a user