X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_get_catalog.xml;h=d1962e4ca15dc62e362ab5d6cd22d9a36fcdfd83;hb=785a51eb682136b2c7ee33fabe64c72d20fa37db;hp=fa9bbc9b2d7e2015317636fa65f204b0af14b1c7;hpb=f274ece0f76b5709408821e317e87aef76123db6;p=elogind.git
diff --git a/man/sd_journal_get_catalog.xml b/man/sd_journal_get_catalog.xml
index fa9bbc9b2..d1962e4ca 100644
--- a/man/sd_journal_get_catalog.xml
+++ b/man/sd_journal_get_catalog.xml
@@ -55,13 +55,13 @@
int sd_journal_get_catalog
sd_journal* j
- const char** ret
+ char** ret
int sd_journal_get_catalog_for_message_id
sd_id128_t id
- const char** ret
+ char** ret
@@ -89,7 +89,7 @@
sd_journal_get_catalog() but the
entry is looked up by the specified message ID (no
open journal context is necessary for this), and no
- field substitution is done.
+ field substitution is performed.
For more information about the journal message
catalog please refer to the sd_journal_get_catalog()
and
sd_journal_get_catalog_for_message_id()
- returns 0 on success or a negative errno-style error
+ return 0 on success or a negative errno-style error
code. If no matching message catalog entry is found
-ENOENT is returned.
+
+ On successful return, ret
+ points to a new string, which must be freed with
+ free3.
+
@@ -115,7 +120,7 @@
sd_journal_get_catalog_for_message_id()
interfaces are available as shared library, which can
be compiled and linked to with the
- libsystemd-journal
+ libsystemd-journal
pkg-config1
file.
@@ -130,6 +135,7 @@
sd_journal_open3,
sd_journal_next3,
sd_journal_get_data3
+ malloc3