summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2005-04-17 08:48:17 +0000
committerwiz <wiz@NetBSD.org>2005-04-17 08:48:17 +0000
commit46e16d08b79d56d89d139b2c6004a0bef8f736e1 (patch)
tree338749e04715b39a60eac55568ed99e5411b13d9 /lib/libevent
parentbdc32cfad70e99cc346d62b16531b152fea38dbc (diff)
Drop trailing whitespace.
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/event.334
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/libevent/event.3 b/lib/libevent/event.3
index 362aebec977..8c89430def3 100644
--- a/lib/libevent/event.3
+++ b/lib/libevent/event.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: event.3,v 1.7 2005/04/17 07:20:00 provos Exp $
+.\" $NetBSD: event.3,v 1.8 2005/04/17 08:48:17 wiz Exp $
.\" $OpenBSD: event.3,v 1.4 2002/07/12 18:50:48 provos Exp $
.\"
.\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org>
@@ -272,18 +272,18 @@ and
.Fn event_del
and does not need to be reinitialized unless the function called and/or
the argument to it are to be changed.
-However, when an
+However, when an
.Fa ev
-structure has been added to libevent using
+structure has been added to libevent using
.Fn event_add
-the structure must persist until the event occurs (assuming
-.Fa EV_PERSIST
-is not set) or is removed
-using
-.Fn event_del .
+the structure must persist until the event occurs (assuming
+.Fa EV_PERSIST
+is not set) or is removed
+using
+.Fn event_del .
You may not reuse the same
-.Fa ev
-structure for multiple monitored descriptors; each descriptor
+.Fa ev
+structure for multiple monitored descriptors; each descriptor
needs its own
.Fa ev .
.Pp
@@ -291,14 +291,14 @@ The function
.Fn event_add
schedules the execution of the
.Fa ev
-event when the event specified in
+event when the event specified in
.Fn event_set
occurs or in at least the time specified in the
.Fa tv .
If
.Fa tv
-is
-.Dv NULL ,
+is
+.Dv NULL ,
no timeout occurs and the function will only be called
if a matching event occurs on the file descriptor.
The event in the
@@ -429,11 +429,11 @@ This event base can be used in conjunction with calls to
.Fn event_base_loop ,
and
.Fn event_base_loopexit .
-.Fn event_base_set
+.Fn event_base_set
should be called after preparing an event with
-.Fn event_set ,
+.Fn event_set ,
as
-.Fn event_set
+.Fn event_set
assigns the provided event to the most recently created event base.
.Pp
.Sh BUFFERED EVENTS
@@ -451,7 +451,7 @@ A new bufferevent is created by
The parameter
.Fa fd
specifies the file descriptor from which data is read and written to.
-This file descriptor is not allowed to be a
+This file descriptor is not allowed to be a
.Xr pipe 2 .
The next three parameters are callbacks.
The read and write callback have the following form