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=b9437ff62ebc924d99bb9c90e0095603ecd328f7;hb=9700d6980f7c212b10a69399e6430b82a6f45587;hpb=dc968941bfc9be464e1df15afa05693dec3ec192 diff --git a/man/sd_bus_message_get_monotonic_usec.xml b/man/sd_bus_message_get_monotonic_usec.xml index b9437ff62..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,6 +103,12 @@ 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 sender. @@ -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.