X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_event_source_set_prepare.xml;h=f0c8e6c4251747f8439a77a8b12aa4b962c08417;hp=e1763e6d38fdb42e82f13fd7ce3e7184954c1152;hb=47f94046d2208b0ca48928df3ac3bce803361f23;hpb=c11dd1c49b997de4d222f302070387f82d8068ca diff --git a/man/sd_event_source_set_prepare.xml b/man/sd_event_source_set_prepare.xml index e1763e6d3..f0c8e6c42 100644 --- a/man/sd_event_source_set_prepare.xml +++ b/man/sd_event_source_set_prepare.xml @@ -71,15 +71,16 @@ Description sd_event_source_set_prepare() may be - used to set a prepartion callback for the event source object + used to set a preparation callback for the event source object specified as source. The callback function 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