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
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" 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
|
||||
.Os HEIMDAL
|
||||
.Sh NAME
|
||||
@@ -54,28 +54,28 @@ The roken library (libroken, -lroken)
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn parse_time
|
||||
function converts a the period of time specified in
|
||||
function converts the period of time specified
|
||||
into a number of seconds.
|
||||
The
|
||||
.Fa timespec
|
||||
can be any number of
|
||||
.Aq number unit
|
||||
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 .
|
||||
.Pp
|
||||
The
|
||||
.Fn unparse_time
|
||||
and
|
||||
.Fn unparse_time_approx
|
||||
does the opposite of
|
||||
do the opposite of
|
||||
.Fn parse_time ,
|
||||
that is they take a number of seconds and express that as human
|
||||
readable string.
|
||||
readable strings.
|
||||
.Fa unparse_time
|
||||
produces an exact time, while
|
||||
.Fa unparse_time_approx
|
||||
restricts the result to only include one units.
|
||||
restricts the result to include only one unit.
|
||||
.Pp
|
||||
.Fn print_time_table
|
||||
prints a descriptive list of available units on the passed file
|
||||
|
Reference in New Issue
Block a user