From 67c3cf4f9ea35c1f789526b24a4d052d071902c0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jul 2012 18:28:08 +0200 Subject: man: document sd_journal_next() --- man/sd_journal_open.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man/sd_journal_open.xml') diff --git a/man/sd_journal_open.xml b/man/sd_journal_open.xml index eb0b8c515e..12b80551a2 100644 --- a/man/sd_journal_open.xml +++ b/man/sd_journal_open.xml @@ -89,7 +89,7 @@ be opened. SD_JOURNAL_RUNTIME_ONLY makes sure only volatile journal files will be opened, excluding those which are stored on persistant - storage. SD_JOURNAL_RUNTIME_ONLY + storage. SD_JOURNAL_SYSTEM_ONLY will ensure that only journal files of system services and the kernel (in opposition to user session processes) will be opened. @@ -112,6 +112,12 @@ accessible to the calling user will be opened. If journal files are not accessible to the caller this will be silently ignored. + + See + sd_journal_next3 + for an example how to iterate through the journal + after opening it it with + sd_journal_open(). -- cgit v1.2.3-54-g00ecf