X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_query_unique.xml;h=250c7a9ff85315c822dcdb93561dcd2841f3f68f;hb=ead349509e325aad720bb0349521a9e56e2ac7c0;hp=b0e43dfeebbf269dc254c9e4186f00f507d8700d;hpb=0902aa1838ecf3b252ab0d02842ce4f9c1cab58d;p=elogind.git
diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml
index b0e43dfee..250c7a9ff 100644
--- a/man/sd_journal_query_unique.xml
+++ b/man/sd_journal_query_unique.xml
@@ -56,26 +56,26 @@
int sd_journal_query_unique
- sd_journal* j
- const char* field
+ sd_journal *j
+ const char *field
int sd_journal_enumerate_unique
- sd_journal* j
- const void** data
- size_t* length
+ sd_journal *j
+ const void **data
+ size_t *length
void sd_journal_restart_unique
- sd_journal* j
+ sd_journal *j
SD_JOURNAL_FOREACH_UNIQUE
- sd_journal* j
- const void* data
+ sd_journal *j
+ const void *data
size_t length
@@ -113,7 +113,9 @@
invocation of
sd_journal_enumerate_unique(). Note
that the data returned will be prefixed with the field
- name and '='.
+ name and '='. Note that this call is subject to the
+ data field size threshold as controlled by
+ sd_journal_set_data_threshold().
sd_journal_restart_unique()
resets the data enumeration index to the beginning of
@@ -154,10 +156,9 @@
The sd_journal_query_unique(),
sd_journal_enumerate_unique() and
sd_journal_restart_unique()
- interfaces are available as shared library, which can
+ interfaces are available as a shared library, which can
be compiled and linked to with the
- libsystemd-journal
- pkg-config1
+ libsystemd pkg-config1
file.
@@ -191,7 +192,7 @@ int main(int argc, char *argv[]) {
return 1;
}
SD_JOURNAL_FOREACH_UNIQUE(j, d, l)
- printf("%.*s\n", (int) l, d);
+ printf("%.*s\n", (int) l, (const char*) d);
sd_journal_close(j);
return 0;
}