X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_message_get_monotonic_usec.xml;h=290faf2a5b41ea62f5cfe77f6b8faed2eb14d16e;hp=57b115c63a028ac053f18514587b2e9918358fae;hb=49aa61a550b3baadb1fb50e586d8fbe8b642025f;hpb=3736955368e8a3a24962f5fdd25cce3281885c30 diff --git a/man/sd_bus_message_get_monotonic_usec.xml b/man/sd_bus_message_get_monotonic_usec.xml index 57b115c63..290faf2a5 100644 --- a/man/sd_bus_message_get_monotonic_usec.xml +++ b/man/sd_bus_message_get_monotonic_usec.xml @@ -21,7 +21,7 @@ along with systemd; If not, see . --> - + sd_bus_message_get_monotonic_usec @@ -55,20 +55,20 @@ int sd_bus_message_get_monotonic_usec - sd_bus_message* message - uint64_t* usec + sd_bus_message *message + uint64_t *usec int sd_bus_message_get_realtime_usec - sd_bus_message* message - uint64_t* usec + sd_bus_message *message + uint64_t *usec int sd_bus_message_get_seqnum - sd_bus_message* message - uint64_t* seqnum + sd_bus_message *message + uint64_t *seqnum @@ -92,9 +92,10 @@ sd_bus_message_get_seqnum() returns the kernel-assigned sequence number of the - message. The kernel assigns a global monotonically increasing - sequence number to all messages sent on the local - system. This sequence number is useful for determining + message. The kernel assigns a global, monotonically + increasing sequence number to all messages transmitted + on the local system, at the time the message was + sent. This sequence number is useful for determining message send order, even across different busses of the local system. The sequence number combined with the boot ID of the system (as returned by @@ -102,9 +103,15 @@ is a suitable globally unique identifier for bus messages. + Note that the sending order and receiving order + of messages might differ, in particular for broadcast + messages. This means that the sequence number and the + timestamps of messages a client reads are not + necessarily monotonically increasing. + These timestamps and the sequence number are attached to each message by the kernel and cannot be - manipulated by the sending userspace. + manipulated by the sender. Note that these timestamps are only available on some bus transports, and only after support for them @@ -132,14 +139,14 @@ - -EINVAL + -EINVAL A specified parameter is invalid. - -ENODATA + -ENODATA No timestamp or sequence number information is @@ -163,7 +170,7 @@ and sd_bus_message_get_seqnum() interfaces are available as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 + libsystemd pkg-config1 file.