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;fp=man%2Fsd_event_add_time.xml;h=d3775e5d5f795ead67f11cedcc81310593b033f7;hp=a3304f7985b995408a749beb15fcafc332974e52;hb=3144ebcad37422dd85220915d37e7e9eea36564a;hpb=3a17521f5906b8028d6f01da99f0d84e442b02bc
diff --git a/man/sd_event_add_time.xml b/man/sd_event_add_time.xml
index a3304f798..d3775e5d5 100644
--- a/man/sd_event_add_time.xml
+++ b/man/sd_event_add_time.xml
@@ -68,6 +68,13 @@ along with systemd; If not, see .
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
@@ -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.
@@ -237,6 +248,7 @@ along with systemd; If not, see .
systemd1,
sd-event3,
sd_event_new3,
+ sd_event_add_signal3,
clock_gettime2,
sd_event_source_set_enabled3