From: Emil Engler Date: Fri, 2 Apr 2021 18:59:55 +0000 (+0200) Subject: doc: adjust edge-trigger notice on event_new() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ef0d9475c15d851d47d81dc70cf0b7bb73723ef;p=libevent doc: adjust edge-trigger notice on event_new() This makes it easier to read and to understand it in my opinon. It also fixes a missing "-" character. --- diff --git a/include/event2/event.h b/include/event2/event.h index 85df418a..e7513e54 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -1078,7 +1078,7 @@ void *event_self_cbarg(void); The EV_TIMEOUT flag has no effect here. It is okay to have multiple events all listening on the same fds; but - they must either all be edge-triggered, or all not be edge triggered. + they must either all be edge-triggered, or not be edge-triggered at all. When the event becomes active, the event loop will run the provided callback function, with three arguments. The first will be the provided