X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_next.xml;h=90fcecb1070f635707c1e7239e5d470501fec86a;hp=f55ee157444f5d954f11f4de84fe4a879a8c1223;hb=4171a6676c74846c9c189f3a92b97bbcd4a11a13;hpb=67c3cf4f9ea35c1f789526b24a4d052d071902c0 diff --git a/man/sd_journal_next.xml b/man/sd_journal_next.xml index f55ee1574..90fcecb10 100644 --- a/man/sd_journal_next.xml +++ b/man/sd_journal_next.xml @@ -47,6 +47,8 @@ sd_journal_previous sd_journal_next_skip sd_journal_previous_skip + SD_JOURNAL_FOREACH + SD_JOURNAL_FOREACH_BACKWARDS Advance or set back the read pointer in the journal @@ -76,6 +78,15 @@ uint64_t skip + + SD_JOURNAL_FOREACH + sd_journal* j + + + + SD_JOURNAL_FOREACH_BACKWARDS + sd_journal* j + @@ -105,6 +116,13 @@ that the entry then pointing to is later in time than then previous one, or has the same timestamp. + Note that + sd_journal_get_data3 + and related calls will fail unless + sd_journal_next() has been + invoked at least once in order to position the read + pointer on a journal entry. + Note that the SD_JOURNAL_FOREACH() macro may be used as a wrapper around