summaryrefslogtreecommitdiff
path: root/man/sd_event_source_set_prepare.xml
diff options
context:
space:
mode:
authorMartin Ejdestig <marejde@gmail.com>2016-12-05 23:42:41 +0100
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:35 +0200
commite5dfa086b065b0e7e620d08720ddd200c46bfbe4 (patch)
tree288e657f67047922960eb2f43c0db940e2526862 /man/sd_event_source_set_prepare.xml
parent36eeeaefcf062fe8096fe4e7ae61ea20450f9040 (diff)
man: Document return value of event source prepare callback (#4834)
Diffstat (limited to 'man/sd_event_source_set_prepare.xml')
-rw-r--r--man/sd_event_source_set_prepare.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/sd_event_source_set_prepare.xml b/man/sd_event_source_set_prepare.xml
index 9c78ccd1d..f0c8e6c42 100644
--- a/man/sd_event_source_set_prepare.xml
+++ b/man/sd_event_source_set_prepare.xml
@@ -76,10 +76,11 @@
specified as <parameter>callback</parameter> will be invoked
immediately before the event loop goes to sleep to wait for
incoming events. It is invoked with the user data pointer passed
- when the event source was created. The callback function may be
- used to reconfigure the precise events to wait for. If the
- <parameter>callback</parameter> parameter is passed as NULL the
- callback function is reset. </para>
+ when the event source was created. The event source will be disabled
+ if the callback function returns a negative error code. The callback
+ function may be used to reconfigure the precise events to wait for.
+ If the <parameter>callback</parameter> parameter is passed as NULL
+ the callback function is reset. </para>
<para>Event source objects have no preparation callback associated
when they are first created with calls such as