diff options
Diffstat (limited to 'lib/libevent/event.3')
-rw-r--r-- | lib/libevent/event.3 | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/libevent/event.3 b/lib/libevent/event.3 index ebfadf0f3fd..29ab4c99b50 100644 --- a/lib/libevent/event.3 +++ b/lib/libevent/event.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: event.3,v 1.3 2002/07/05 20:04:39 provos Exp $ +.\" $OpenBSD: event.3,v 1.4 2002/07/12 18:50:48 provos Exp $ .\" .\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -38,11 +38,11 @@ .Nm event_del , .Nm event_pending , .Nm event_initialized , -.Nm timeout_set , -.Nm timeout_add , -.Nm timeout_del -.Nm timeout_pending , -.Nm timeout_initialized , +.Nm evtimer_set , +.Nm evtimer_add , +.Nm evtimer_del +.Nm evtimer_pending , +.Nm evtimer_initialized , .Nm signal_set , .Nm signal_add , .Nm signal_del @@ -69,15 +69,15 @@ .Ft int .Fn "event_initialized" "struct event *ev" .Ft void -.Fn "timeout_set" "struct event *ev" "void (*fn)(int, short, void *)" "void *arg" +.Fn "evtimer_set" "struct event *ev" "void (*fn)(int, short, void *)" "void *arg" .Ft void -.Fn "timeout_add" "struct event *ev" "struct timeval *" +.Fn "evtimer_add" "struct event *ev" "struct timeval *" .Ft void -.Fn "timeout_del" "struct event *ev" +.Fn "evtimer_del" "struct event *ev" .Ft int -.Fn "timeout_pending" "struct event *ev" "struct timeval *tv" +.Fn "evtimer_pending" "struct event *ev" "struct timeval *tv" .Ft int -.Fn "timeout_initialized" "struct event *ev" +.Fn "evtimer_initialized" "struct event *ev" .Ft void .Fn "signal_set" "struct event *ev" "int signal" "void (*fn)(int, short, void *)" "void *arg" .Ft void @@ -253,12 +253,12 @@ The macro can be used to check if an event has been initialized. .Pp The functions -.Fn timeout_set , -.Fn timeout_add , -.Fn timeout_del , -.Fn timeout_initialized , +.Fn evtimer_set , +.Fn evtimer_add , +.Fn evtimer_del , +.Fn evtimer_initialized , and -.Fn timeout_pending +.Fn evtimer_pending are abbreviations for common situations where only a timeout is required. The file descriptor passed will be 0, and the event type will be .Va EV_TIMEOUT . |