man: document sd_journal_next()

This commit is contained in:
Lennart Poettering
2012-07-13 18:28:08 +02:00
parent 3bb55eee6a
commit 67c3cf4f9e
4 changed files with 212 additions and 3 deletions
+7 -1
View File
@@ -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>