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.
This commit is contained in:
Emil Engler 2021-04-02 20:59:55 +02:00
parent d433f84733
commit 0ef0d9475c

View File

@ -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