X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=man%2Fsd_event_add_time.xml;h=31d1013552b62a88fe07c522f8028e44a2981a94;hb=3543f8218b732132dff6d0dccb2ce357e4154801;hp=dc25784388a7f50ad14d98c5987f324ddf51ef72;hpb=3b3d7d069d10d53336dbada1c67f739e3492b218;p=elogind.git
diff --git a/man/sd_event_add_time.xml b/man/sd_event_add_time.xml
index dc2578438..31d101355 100644
--- a/man/sd_event_add_time.xml
+++ b/man/sd_event_add_time.xml
@@ -1,4 +1,4 @@
-
+
@@ -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
@@ -185,34 +196,34 @@ along with systemd; If not, see .
- -ENOMEM
+ -ENOMEM
- Not enough memory to allocate object.
+ Not enough memory to allocate an object.
- -EINVAL
+ -EINVAL
An invalid argument has been passed.
- -ESTALE
+ -ESTALE
The event loop is already terminated.
- -ECHILD
+ -ECHILD
The event loop has been created in a different process.
- -ENOTSUP
+ -ENOTSUP
The selected clock is not supported by the event loop implementation.
@@ -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,9 @@ along with systemd; If not, see .
systemd1,
sd-event3,
sd_event_new3,
+ sd_event_add_signal3,
+ sd_event_add_child3,
+ sd_event_add_defer3,
clock_gettime2,
sd_event_source_set_enabled3