diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-12 18:06:05 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-12 18:06:05 +0000 |
commit | 9945522f80f6cb34bf3d8fe101b8f55547ad8bb3 (patch) | |
tree | fc10cafaadb7f2d860ae9e98871d8af44d307d93 /share/man/man9/ratecheck.9 | |
parent | cbf706cf11abaa4e9a17c2295bc4be136190d5f3 (diff) |
General man page cleanups, mostly to remove trailing whitespace, hard
sentence breaks, and other such things.
Diffstat (limited to 'share/man/man9/ratecheck.9')
-rw-r--r-- | share/man/man9/ratecheck.9 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/share/man/man9/ratecheck.9 b/share/man/man9/ratecheck.9 index bd7bf097ae6..64a62c72007 100644 --- a/share/man/man9/ratecheck.9 +++ b/share/man/man9/ratecheck.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ratecheck.9,v 1.2 2000/03/28 13:08:45 jakob Exp $ +.\" $OpenBSD: ratecheck.9,v 1.3 2000/10/12 18:06:02 aaron Exp $ .\" $NetBSD: ratecheck.9,v 1.1.2.1 2000/02/18 20:26:43 he Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -26,7 +26,7 @@ .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS @@ -57,22 +57,25 @@ and .Fa lasttime is less than the value given by the .Fa mininterval -argument, zero is returned. Otherwise, +argument, zero is returned. +Otherwise, .Fa lasttime is set to the current time and a non-zero value is returned. .Pp The motivation for implementing .Fn ratecheck was to provide a mechanism that could be used to add rate limiting to -diagnostic message output. If printed too often, diagnostic messages can -keep the system from doing useful work. If the repeated messages can -be caused by deliberate user action or network events, they can be -exploited to cause denial of system service. +diagnostic message output. +If printed too often, diagnostic messages can +keep the system from doing useful work. +If the repeated messages can be caused by deliberate user action or +network events, they can be exploited to cause denial of system service. .Pp Note that using a very short time interval (less than a second) for .Fa mininterval -defeats the purpose of this function. (It doesn't +defeats the purpose of this function. +(It doesn't take much to flood a 9600 baud serial console with output, for instance.) .Sh EXAMPLES Here is a simple example of use of the |