sd_journal_stream_fd.xml   sd_journal_stream_fd.xml 
skipping to change at line 91 skipping to change at line 91
the default priority level for all messages. The the default priority level for all messages. The
priority level is one of <constant>LOG_EMERG</constant>, priority level is one of <constant>LOG_EMERG</constant>,
<constant>LOG_ALERT</constant>, <constant>LOG_ALERT</constant>,
<constant>LOG_CRIT</constant>, <constant>LOG_CRIT</constant>,
<constant>LOG_ERR</constant>, <constant>LOG_ERR</constant>,
<constant>LOG_WARNING</constant>, <constant>LOG_WARNING</constant>,
<constant>LOG_NOTICE</constant>, <constant>LOG_NOTICE</constant>,
<constant>LOG_INFO</constant>, <constant>LOG_INFO</constant>,
<constant>LOG_DEBUG</constant>, as defined in <constant>LOG_DEBUG</constant>, as defined in
<filename>syslog.h</filename>, see <filename>syslog.h</filename>, see
<citerefentry><refentrytitle>syslog</refentrytitle><manvoln um>3</manvolnum></citerefentry> <citerefentry project='man-pages'><refentrytitle>syslog</re fentrytitle><manvolnum>3</manvolnum></citerefentry>
for details. The third argument is a boolean: if true for details. The third argument is a boolean: if true
kernel-style log priority level prefixes (such as kernel-style log priority level prefixes (such as
<constant>SD_WARNING</constant>) are interpreted, see <constant>SD_WARNING</constant>) are interpreted, see
<citerefentry><refentrytitle>sd-daemon</refentrytitle><manv olnum>3</manvolnum></citerefentry> <citerefentry><refentrytitle>sd-daemon</refentrytitle><manv olnum>3</manvolnum></citerefentry>
for more information.</para> for more information.</para>
<para>It is recommended that applications log UTF-8 <para>It is recommended that applications log UTF-8
messages only with this API, but this is not messages only with this API, but this is not
enforced.</para> enforced.</para>
skipping to change at line 117 skipping to change at line 117
<para>The call returns a valid write-only file descriptor o n success or a <para>The call returns a valid write-only file descriptor o n success or a
negative errno-style error code.</para> negative errno-style error code.</para>
</refsect1> </refsect1>
<refsect1> <refsect1>
<title>Notes</title> <title>Notes</title>
<para>The <function>sd_journal_stream_fd()</function> <para>The <function>sd_journal_stream_fd()</function>
interface is available as a shared library, which can interface is available as a shared library, which can
be compiled and linked to with the be compiled and linked to with the
<constant>libsystemd</constant> <citerefentry><refentrytitl e>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> <constant>libsystemd</constant> <citerefentry project='die- net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></cit erefentry>
file.</para> file.</para>
</refsect1> </refsect1>
<refsect1> <refsect1>
<title>Examples</title> <title>Examples</title>
<para>Creating a log stream suitable for <para>Creating a log stream suitable for
<citerefentry><refentrytitle>fprintf</refentrytitle><manvol num>3</manvolnum></citerefentry>:</para> <citerefentry project='man-pages'><refentrytitle>fprintf</r efentrytitle><manvolnum>3</manvolnum></citerefentry>:</para>
<programlisting>#include &lt;syslog.h&gt; <programlisting>#include &lt;syslog.h&gt;
#include &lt;stdio.h&gt; #include &lt;stdio.h&gt;
#include &lt;string.h&gt; #include &lt;string.h&gt;
#include &lt;unistd.h&gt; #include &lt;unistd.h&gt;
#include &lt;systemd/sd-journal.h&gt; #include &lt;systemd/sd-journal.h&gt;
#include &lt;systemd/sd-daemon.h&gt; #include &lt;systemd/sd-daemon.h&gt;
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
int fd; int fd;
skipping to change at line 164 skipping to change at line 164
</refsect1> </refsect1>
<refsect1> <refsect1>
<title>See Also</title> <title>See Also</title>
<para> <para>
<citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd</refentrytitle ><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd-journal</refentryti tle><manvolnum>3</manvolnum></citerefentry>, <citerefentry><refentrytitle>sd-journal</refentryti tle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd-daemon</refentrytit le><manvolnum>3</manvolnum></citerefentry>, <citerefentry><refentrytitle>sd-daemon</refentrytit le><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_journal_print</refe ntrytitle><manvolnum>3</manvolnum></citerefentry>, <citerefentry><refentrytitle>sd_journal_print</refe ntrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>syslog</refentrytitle> <citerefentry project='man-pages'><refentrytitle>sy
<manvolnum>3</manvolnum></citerefentry>, slog</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>fprintf</refentrytitle <citerefentry project='man-pages'><refentrytitle>fp
><manvolnum>3</manvolnum></citerefentry>, rintf</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.journal-fields </refentrytitle><manvolnum>7</manvolnum></citerefentry> <citerefentry><refentrytitle>systemd.journal-fields </refentrytitle><manvolnum>7</manvolnum></citerefentry>
</para> </para>
</refsect1> </refsect1>
</refentry> </refentry>
 End of changes. 4 change blocks. 
7 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/