1.fp 5 CW
2.de Af
3.ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
4.if !\\$4 .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
5..
6.de aF
7.ie \\$3 .ft \\$1
8.el \{\
9.ds ;G \&
10.nr ;G \\n(.f
11.Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
12\\*(;G
13.ft \\n(;G \}
14..
15.de L
16.aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
17..
18.de LR
19.aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
20..
21.de RL
22.aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
23..
24.de EX		\" start example
25.ta 1i 2i 3i 4i 5i 6i
26.PP
27.RS 
28.PD 0
29.ft 5
30.nf
31..
32.de EE		\" end example
33.fi
34.ft
35.PD
36.RE
37.PP
38..
39.TH STRELAPSED 3
40.SH NAME
41strelapsed \- parse elapsed time expression
42.SH SYNOPSIS
43.L "unsigned long strelapsed(char* buf, char** next, int persec)"
44.SH DESCRIPTION
45.I strelapsed
46returns a pointer to a string representation of the elapsed time for
47.L (count/persec)
48seconds.
49The two largest time units are used, limiting the return value length
50to at most 6 characters.
51The units are:
52.TP
53.B s
54seconds
55.TP
56.B m
57minutes
58.TP
59.B h
60hours
61.TP
62.B days
63.TP
64.B weeks
65.TP
66.B M
67months
68.TP
69.B Y
70years
71.TP
72.B S
73scores
74.SH "SEE ALSO"
75strelapsed(3)
76.SH CAVEATS
77The return value points to a static area that is overwritten on each call.
78