From: Martin Ejdestig Date: Mon, 5 Dec 2016 22:42:41 +0000 (+0100) Subject: man: Document return value of event source prepare callback (#4834) X-Git-Tag: v233.3~132 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e5dfa086b065b0e7e620d08720ddd200c46bfbe4;p=elogind.git man: Document return value of event source prepare callback (#4834) --- 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 callback 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 - callback parameter is passed as NULL the - callback function is reset. + 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 callback parameter is passed as NULL + the callback function is reset. Event source objects have no preparation callback associated when they are first created with calls such as