summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYong Wu <33825637+yongw5@users.noreply.github.com>2021-09-12 18:03:03 +0800
committerGitHub <noreply@github.com>2021-09-12 18:03:03 +0800
commit68675d5f67c2570c78f114a241fbd2aaa625ceb1 (patch)
tree71a87f0a649a69c85da579171e865b0c4d43b32f /include
parent990bcfc28e720ba34f7f14a2bc257c210e45e699 (diff)
downloadlibevent-68675d5f67c2570c78f114a241fbd2aaa625ceb1.tar.gz
doc: adjust flags notice on event_base_loop()
Diffstat (limited to 'include')
-rw-r--r--include/event2/event.h3
1 files changed, 2 insertions, 1 deletions
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,