]> granicus.if.org Git - libevent/commitdiff
doc: adjust flags notice on event_base_loop()
authorYong Wu <33825637+yongw5@users.noreply.github.com>
Sun, 12 Sep 2021 10:03:03 +0000 (18:03 +0800)
committerGitHub <noreply@github.com>
Sun, 12 Sep 2021 10:03:03 +0000 (18:03 +0800)
include/event2/event.h

index e7513e54493dc83f7f00ac98840c6198148a909f..83dfe540d1d424977d801494b6be1dd72b5eba6e 100644 (file)
@@ -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,