Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 slightly adjust to clarify handling of zero t...



details:   https://anonhg.NetBSD.org/src/rev/c628f1b5fa11
branches:  trunk
changeset: 542549:c628f1b5fa11
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Feb 01 10:43:20 2003 +0000

description:
slightly adjust to clarify handling of zero time (tv_sec == tv_usec == 0)
- itimerfix() leaves the time as zero in this case, doesn't adjust to one tick

also use 'one tick' rather than mere 'tick' in first paragraph

diffstat:

 share/man/man9/itimerfix.9 |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r bad0e5538043 -r c628f1b5fa11 share/man/man9/itimerfix.9
--- a/share/man/man9/itimerfix.9        Sat Feb 01 09:31:23 2003 +0000
+++ b/share/man/man9/itimerfix.9        Sat Feb 01 10:43:20 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: itimerfix.9,v 1.3 2002/02/13 08:18:43 ross Exp $
+.\"    $NetBSD: itimerfix.9,v 1.4 2003/02/01 10:43:20 jdolecek Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -50,10 +50,12 @@
 function checks that the value in
 .Fa tv
 is valid (0 \*[Le] tv-\*[Gt]tv_sec \*[Am]\*[Am]  0 \*[Le] tv-\*[Gt]tv_usec \*[Lt] 1000000), and that the
-total time represented is at least
-.Em tick .
+total time represented is at least one
+.Em tick ,
+or zero.
 .Pp
-If it is smaller, then it is adjusted to tick.
+If the total represented time is nonzero and smaller than tick,
+it is adjusted to exacly one tick.
 .Sh RETURN VALUES
 .Nm
 returns 0 on success or



Home | Main Index | Thread Index | Old Index