chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-directive-index: link to systemd options
[elogind.git]
/
man
/
sd_journal_query_unique.xml
diff --git
a/man/sd_journal_query_unique.xml
b/man/sd_journal_query_unique.xml
index 278506ae19ad4c0310b1390d2bb60cff0d450acc..502a7e08c27036c4fb362edab5f3e72d8f866dd0 100644
(file)
--- a/
man/sd_journal_query_unique.xml
+++ b/
man/sd_journal_query_unique.xml
@@
-113,7
+113,9
@@
invocation of
<function>sd_journal_enumerate_unique()</function>. Note
that the data returned will be prefixed with the field
invocation of
<function>sd_journal_enumerate_unique()</function>. Note
that the data returned will be prefixed with the field
- name and '='.</para>
+ name and '='. Note that this call is subject to the
+ data field size threshold as controlled by
+ <function>sd_journal_set_data_threshold()</function>.</para>
<para><function>sd_journal_restart_unique()</function>
resets the data enumeration index to the beginning of
<para><function>sd_journal_restart_unique()</function>
resets the data enumeration index to the beginning of
@@
-176,7
+178,7
@@
int main(int argc, char *argv[]) {
sd_journal *j;
int main(int argc, char *argv[]) {
sd_journal *j;
- const
char
*d;
+ const
void
*d;
size_t l;
int r;
size_t l;
int r;
@@
-191,7
+193,7
@@
int main(int argc, char *argv[]) {
return 1;
}
SD_JOURNAL_FOREACH_UNIQUE(j, d, l)
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;
}</programlisting>
sd_journal_close(j);
return 0;
}</programlisting>