summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2016-07-17 11:21:08 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2016-07-17 11:21:08 +0000
commit30ef6d84f9bc54b688eba74c9ac400581876bf49 (patch)
tree1210077520cc610e44db02ffc07fc292ebbb3540 /lib/libevent
parent8649a619794b5d46af9557f4fa6a38442ecc9ced (diff)
Talk about event API instead of libevent
Avoids inconsistent capitalization of libevent at start of sentence suggested by and ok jmc@, ok bluhm@
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/event.314
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libevent/event.3 b/lib/libevent/event.3
index db24b796861..d448cf4c576 100644
--- a/lib/libevent/event.3
+++ b/lib/libevent/event.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: event.3,v 1.51 2015/11/10 23:48:18 jmc Exp $
+.\" $OpenBSD: event.3,v 1.52 2016/07/17 11:21:07 stefan 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: November 10 2015 $
+.Dd $Mdocdate: July 17 2016 $
.Dt EVENT_INIT 3
.Os
.Sh NAME
@@ -416,8 +416,9 @@ By default,
assigns the middle priority to all events unless their priority
is explicitly set.
.Sh THREAD SAFE EVENTS
-.Nm Libevent
-has experimental support for thread-safe events.
+The
+.Nm event
+API has experimental support for thread-safe events.
When initializing the library via
.Fn event_init ,
an event base is returned.
@@ -442,8 +443,9 @@ should be called after preparing a bufferevent with
should be used to free memory associated with the event base
when it is no longer needed.
.Sh BUFFERED EVENTS
-.Nm libevent
-provides an abstraction on top of the regular event callbacks.
+The
+.Nm event
+API provides an abstraction on top of the regular event callbacks.
This abstraction is called a
.Va "buffered event" .
A buffered event provides input and output buffers that get filled