]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/sd_journal_get_data.xml
mount-util: shorten the loop a bit (#7545)
[thirdparty/systemd.git] / man / sd_journal_get_data.xml
index 1f25d068d71542797b7693e96762af28747841fa..831ed0bc6e9254d1aca32d547b567f1cd49f298f 100644 (file)
@@ -3,6 +3,8 @@
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <!--
+  SPDX-License-Identifier: LGPL-2.1+
+
   This file is part of systemd.
 
   Copyright 2012 Lennart Poettering
     <function>sd_journal_enumerate_unique()</function>. This threshold
     is a hint only: it indicates that the client program is interested
     only in the initial parts of the data fields, up to the threshold
-    in size -- but the library might still return larger data objects.
+    in size  but the library might still return larger data objects.
     That means applications should not rely exclusively on this
     setting to limit the size of the data fields returned, but need to
-    apply a explicit size limit on the returned data as well. This
+    apply an explicit size limit on the returned data as well. This
     threshold defaults to 64K by default. To retrieve the complete
     data fields this threshold should be turned off by setting it to
     0, so that the library always returns the complete data objects.
     iterate through all fields of the current journal
     entry:</para>
 
-    <programlisting>...
+    <programlisting>
 int print_fields(sd_journal *j) {
   const void *data;
   size_t length;
   SD_JOURNAL_FOREACH_DATA(j, data, length)
     printf("%.*s\n", (int) length, data);
 }
-...</programlisting>
+</programlisting>
 
   </refsect1>