summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-31 17:27:33 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-31 17:27:33 +0000
commit58a6bdb2eecf165eb39e1ff5a8082c4bd6ec1211 (patch)
treec631dd0d4ac59c3286cbf5b06d00e840263d40da /lib/libevent
parenta7df80ab7071480723f6f681dc3bbfcda8caffb5 (diff)
man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/event.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libevent/event.3 b/lib/libevent/event.3
index 9f9675f2b18..2c62f42a9bd 100644
--- a/lib/libevent/event.3
+++ b/lib/libevent/event.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: event.3,v 1.55 2018/09/23 08:56:19 anton Exp $
+.\" $OpenBSD: event.3,v 1.56 2022/03/31 17:27:17 naddy Exp $
.\"
.\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 23 2018 $
+.Dd $Mdocdate: March 31 2022 $
.Dt EVENT_INIT 3
.Os
.Sh NAME
@@ -285,7 +285,7 @@ The function
.Fn event_del
will cancel the event in the argument
.Fa ev .
-If the event has already executed or has never been added
+If the event has already executed or has never been added,
the call will have no effect.
.Pp
The functions
@@ -492,7 +492,7 @@ The flags parameter can be a combination of
.Va EV_READ
and
.Va EV_WRITE .
-When read enabled the bufferevent will try to read from the file
+When read enabled, the bufferevent will try to read from the file
descriptor and call the read callback.
The write callback is executed
whenever the output buffer is drained below the write low watermark,