From: Yong Wu <33825637+yongw5@users.noreply.github.com> Date: Sun, 12 Sep 2021 10:03:03 +0000 (+0800) Subject: doc: adjust flags notice on event_base_loop() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68675d5f67c2570c78f114a241fbd2aaa625ceb1;p=libevent doc: adjust flags notice on event_base_loop() --- diff --git a/include/event2/event.h b/include/event2/event.h index e7513e54..83dfe540 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -829,7 +829,8 @@ int event_base_set(struct event_base *eb, struct event *ev); @param eb the event_base structure returned by event_base_new() or event_base_new_with_config() - @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK + @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK | + EVLOOP_NO_EXIT_ON_EMPTY @return 0 if successful, -1 if an error occurred, or 1 if we exited because no events were pending or active. @see event_base_loopexit(), event_base_dispatch(), EVLOOP_ONCE,