svn:r36
This commit is contained in:
Niels Provos 2002-10-07 17:56:25 +00:00
parent 9d2401fffc
commit ac44ddda99

View File

@ -96,7 +96,7 @@
The The
.Nm event .Nm event
API provides a mechanism to execute a function when a specific event API provides a mechanism to execute a function when a specific event
on a file descriptor occurs or after at a given time has passed. on a file descriptor occurs or after a given time has passed.
.Pp .Pp
The The
.Nm event .Nm event
@ -106,7 +106,7 @@ before it can be used.
.Pp .Pp
In order to process events, an application needs to call In order to process events, an application needs to call
.Fn event_dispatch . .Fn event_dispatch .
This functions only returns on error, and should replace the event core This function only returns on error, and should replace the event core
of the application program. of the application program.
.Pp .Pp
In order to avoid races in signal handlers, the In order to avoid races in signal handlers, the
@ -224,7 +224,7 @@ until it has timed out or been removed with
.Fn event_del . .Fn event_del .
If the event in the If the event in the
.Fa ev .Fa ev
argument has already a scheduled timeout, the old timeout will be argument already has a scheduled timeout, the old timeout will be
replaced by the new one. replaced by the new one.
.Pp .Pp
The function The function