X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_seek_head.xml;h=c4e64096e177b349ffe0a1695d13d968d0de18af;hb=a8833944647bfd10e43569646be954db5cbac54e;hp=f8a4eb1d20bdc1b7b192692dfa55f63e47915b19;hpb=49f43d5f91a99b23f745726aa351d8f159774357;p=elogind.git
diff --git a/man/sd_journal_seek_head.xml b/man/sd_journal_seek_head.xml
index f8a4eb1d2..c4e64096e 100644
--- a/man/sd_journal_seek_head.xml
+++ b/man/sd_journal_seek_head.xml
@@ -101,21 +101,28 @@
sd_journal_seek_monotonic_usec()
seeks to the entry with the specified monotonic
- timestamp, i.e. CLOCK_MONOOTONIC. Since monotonic time
- restarts on every reboot a boot ID needs to be
- specified as well.
+ timestamp,
+ i.e. CLOCK_MONOTONIC. Since
+ monotonic time restarts on every reboot a boot ID
+ needs to be specified as well.
sd_journal_seek_realtime_usec()
seeks to the entry with the specified realtime
- (wallclock) timestamp, i.e. CLOCK_REALTIME. Note that
- the realtime clock is not necessary monotonic. If a
+ (wallclock) timestamp,
+ i.e. CLOCK_REALTIME. Note that
+ the realtime clock is not necessarily monotonic. If a
realtime timestamp is ambiguous it is not defined
which position is sought to.
sd_journal_seek_cursor()
seeks to the entry located at the specified cursor
string. For details on cursors see
- sd_journal_get_cursor3.
+ sd_journal_get_cursor3. If
+ no entry matching the specified cursor is found the
+ call will seek to the next closest entry (in terms of
+ time) instead. To verify whether the newly selected
+ entry actually matches the cursor use
+ sd_journal_test_cursor3.
Note that these calls do not actually make any
entry the new current entry, this needs to be done in
@@ -151,8 +158,7 @@
and sd_journal_seek_cursor()
interfaces are available as shared library, which can
be compiled and linked to with the
- libsystemd-journal
- pkg-config1
+ libsystemd-journal pkg-config1
file.