chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal/compress: add stream compression/decompression functions
[elogind.git]
/
man
/
sd_journal_print.xml
diff --git
a/man/sd_journal_print.xml
b/man/sd_journal_print.xml
index 7b08733171751262f71ef5f740f4f174c4cf192a..0b78502c5fef33993413ded4bdefa0ccd6ebfb80 100644
(file)
--- a/
man/sd_journal_print.xml
+++ b/
man/sd_journal_print.xml
@@
-59,20
+59,20
@@
<funcprototype>
<funcdef>int <function>sd_journal_print</function></funcdef>
<paramdef>int <parameter>priority</parameter></paramdef>
<funcprototype>
<funcdef>int <function>sd_journal_print</function></funcdef>
<paramdef>int <parameter>priority</parameter></paramdef>
- <paramdef>const char
*
<parameter>format</parameter></paramdef>
+ <paramdef>const char
*
<parameter>format</parameter></paramdef>
<paramdef>...</paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>sd_journal_printv</function></funcdef>
<paramdef>int <parameter>priority</parameter></paramdef>
<paramdef>...</paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>sd_journal_printv</function></funcdef>
<paramdef>int <parameter>priority</parameter></paramdef>
- <paramdef>const char
*
<parameter>format</parameter></paramdef>
+ <paramdef>const char
*
<parameter>format</parameter></paramdef>
<paramdef>va_list <parameter>ap</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>sd_journal_send</function></funcdef>
<paramdef>va_list <parameter>ap</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>int <function>sd_journal_send</function></funcdef>
- <paramdef>const char
*
<parameter>format</parameter></paramdef>
+ <paramdef>const char
*
<parameter>format</parameter></paramdef>
<paramdef>...</paramdef>
</funcprototype>
<paramdef>...</paramdef>
</funcprototype>
@@
-84,7
+84,7
@@
<funcprototype>
<funcdef>int <function>sd_journal_perror</function></funcdef>
<funcprototype>
<funcdef>int <function>sd_journal_perror</function></funcdef>
- <paramdef>const char
*
<parameter>message</parameter></paramdef>
+ <paramdef>const char
*
<parameter>message</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</funcprototype>
</funcsynopsis>
@@
-203,7
+203,7
@@
sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
be guaranteed. Using
<function>sd_journal_print()</function> has the
benefit of logging source code line, filenames, and
be guaranteed. Using
<function>sd_journal_print()</function> has the
benefit of logging source code line, filenames, and
- functions as meta
data along all entries, and
+ functions as metadata along all entries, and
guaranteeing chronological ordering with structured
log entries that are generated via
<function>sd_journal_send()</function>. Using
guaranteeing chronological ordering with structured
log entries that are generated via
<function>sd_journal_send()</function>. Using
@@
-218,6
+218,11
@@
sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
errno-style error code. The
<citerefentry><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>
variable itself is not altered.</para>
errno-style error code. The
<citerefentry><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>
variable itself is not altered.</para>
+
+ <para>If
+ <citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ is not running (the socket is not present), those
+ functions do nothing, and also return 0.</para>
</refsect1>
<refsect1>
</refsect1>
<refsect1>
@@
-242,7
+247,7
@@
sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
<function>sd_journal_sendv()</function> interfaces
are available as a shared library, which can be compiled
and linked to with the
<function>sd_journal_sendv()</function> interfaces
are available as a shared library, which can be compiled
and linked to with the
- <constant>libsystemd
-journal
</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ <constant>libsystemd</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
file.</para>
</refsect1>
file.</para>
</refsect1>