X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_next.xml;h=9b1cb1fc460f0d6abcdf800813fcc350ee00436f;hp=90fcecb1070f635707c1e7239e5d470501fec86a;hb=8411d2a2b15ec8020cd563162cf1b372d8c0319a;hpb=4171a6676c74846c9c189f3a92b97bbcd4a11a13 diff --git a/man/sd_journal_next.xml b/man/sd_journal_next.xml index 90fcecb10..9b1cb1fc4 100644 --- a/man/sd_journal_next.xml +++ b/man/sd_journal_next.xml @@ -128,7 +128,7 @@ as a wrapper around sd_journal_seek_head3 and sd_journal_next() in order to - make iteratring through the journal easier. See below + make iterating through the journal easier. See below for an example. Similar, SD_JOURNAL_FOREACH_BACKWARDS() may be used for iterating the journal in reverse @@ -140,8 +140,8 @@ The four calls return the number of entries advanced/set back on success or a negative errno-style - error code. When the end (resp. beginning) of the journal - is reached a number smaller than requested is + error code. When the end or beginning of the journal + is reached, a number smaller than requested is returned. More specifically, if sd_journal_next() or sd_journal_previous() reach the @@ -205,7 +205,9 @@ int main(int argc, char *argv[]) { systemd1, sd-journal3, sd_journal_open3, - sd_journal_get_data3 + sd_journal_get_data3, + sd_journal_get_realtime_usec3, + sd_journal_get_cursor3