X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_query_unique.xml;h=f0b92048af33c2d9afd73ec5b24c933b983c2b30;hp=278506ae19ad4c0310b1390d2bb60cff0d450acc;hb=69c79d3c32ff4d6a572ee1cdec248b27df1fb6ca;hpb=1a2be33aa584df0d2fe8fa30d35b7c04eb092920 diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index 278506ae1..f0b92048a 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -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-journal pkg-config1 file. @@ -176,7 +177,7 @@ int main(int argc, char *argv[]) { sd_journal *j; - const char *d; + const void *d; size_t l; int r; @@ -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; }