X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_event_add_time.xml;h=e64ed8e2076783e001d668157957613a60d67250;hp=983e4865624aa2b1e76ce03153f76393098eb662;hb=edf2573743b25273bee020230a60f1a054b8ec60;hpb=b8bde11658366290521e3d03316378b482600323 diff --git a/man/sd_event_add_time.xml b/man/sd_event_add_time.xml index 983e48656..e64ed8e20 100644 --- a/man/sd_event_add_time.xml +++ b/man/sd_event_add_time.xml @@ -65,13 +65,20 @@ along with systemd; If not, see . uint64_t usec uint64_t accuracy sd_event_time_handler_t handler - void* userdata + void *userdata + + + + typedef int (*sd_event_time_handler_t) + sd_event_source *s + uint64_t usec + void *userdata int sd_event_source_get_time sd_event_source *source - usec_t* usec + usec_t *usec @@ -132,11 +139,15 @@ along with systemd; If not, see . actually have been called at a slightly later time, subject to the specified accuracy value, the kernel timer slack (see prctl2) - and additional scheduling latencies. By default, the timer will - elapse once (SD_EVENT_ONESHOT), but this may be changed with - sd_event_source_set_enabled3. If - the handler function returns a negative error code, it will be - disabled after the invocation, even if SD_EVENT_ON mode is set. + and additional scheduling latencies. + + By default, the timer will elapse once + (SD_EVENT_ONESHOT), but this may be changed + with + sd_event_source_set_enabled3. + If the handler function returns a negative error code, it will be + disabled after the invocation, even if + SD_EVENT_ON mode is set. sd_event_source_get_time() retrieves @@ -187,7 +198,7 @@ along with systemd; If not, see . -ENOMEM - Not enough memory to allocate object. + Not enough memory to allocate an object. @@ -226,7 +237,7 @@ along with systemd; If not, see . sd_event_add_time() and the other functions described here are available as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 + libsystemd pkg-config1 file. @@ -237,6 +248,8 @@ along with systemd; If not, see . systemd1, sd-event3, sd_event_new3, + sd_event_add_signal3, + sd_event_add_child3, clock_gettime2, sd_event_source_set_enabled3