summaryrefslogtreecommitdiffstats
path: root/man/sd_journal_open.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 18:28:08 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 18:28:08 +0200
commit67c3cf4f9ea35c1f789526b24a4d052d071902c0 (patch)
tree4586c3bcea3dcf433da5c9f3c6de14091a2db3d7 /man/sd_journal_open.xml
parentman: document sd_journal_open() (diff)
downloadsystemd-67c3cf4f9ea35c1f789526b24a4d052d071902c0.tar.xz
systemd-67c3cf4f9ea35c1f789526b24a4d052d071902c0.zip
man: document sd_journal_next()
Diffstat (limited to 'man/sd_journal_open.xml')
-rw-r--r--man/sd_journal_open.xml8
1 files changed, 7 insertions, 1 deletions
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. <literal>SD_JOURNAL_RUNTIME_ONLY</literal>
makes sure only volatile journal files will be opened,
excluding those which are stored on persistant
- storage. <literal>SD_JOURNAL_RUNTIME_ONLY</literal>
+ storage. <literal>SD_JOURNAL_SYSTEM_ONLY</literal>
will ensure that only journal files of system services
and the kernel (in opposition to user session processes) will
be opened.</para>
@@ -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.</para>
+
+ <para>See
+ <citerefentry><refentrytitle>sd_journal_next</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ for an example how to iterate through the journal
+ after opening it it with
+ <function>sd_journal_open()</function>.</para>
</refsect1>
<refsect1>