mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: fix various typos
This commit is contained in:
parent
e362b3725a
commit
19125c205a
@ -44,8 +44,8 @@
|
||||
|
||||
<refnamediv>
|
||||
<refname>sd_journal_get_fd</refname>
|
||||
<refname>sd_journal_get_process</refname>
|
||||
<refname>sd_journal_get_wait</refname>
|
||||
<refname>sd_journal_process</refname>
|
||||
<refname>sd_journal_wait</refname>
|
||||
<refpurpose>Journal change notification
|
||||
interface</refpurpose>
|
||||
</refnamediv>
|
||||
|
@ -122,7 +122,7 @@
|
||||
used to submit structured log entries to the system
|
||||
journal. It takes a series of format strings, each
|
||||
immediately followed by their associated parameters,
|
||||
terminated by a NULL. The strings passed should be of
|
||||
terminated by NULL. The strings passed should be of
|
||||
the format <literal>VARIABLE=value</literal>. The
|
||||
variable name must be in uppercase and consist only
|
||||
of characters, numbers and underscores, and may not
|
||||
@ -150,7 +150,7 @@
|
||||
journal where that is necessary.</para>
|
||||
|
||||
<para>Note that <function>sd_journal_send()</function>
|
||||
is a wapper around
|
||||
is a wrapper around
|
||||
<function>sd_journal_sendv()</function> to make it
|
||||
easier to use when only text strings shall be
|
||||
submitted. Also, the following two calls are
|
||||
@ -171,7 +171,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
|
||||
|
||||
<para><citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>
|
||||
and and <function>sd_journal_print()</function> may
|
||||
mostly be used interchangably
|
||||
largely be used interchangably
|
||||
functionality-wise. However, note that log messages
|
||||
logged via the former take a different path to the
|
||||
journal server than the later, and hence global
|
||||
|
@ -149,6 +149,7 @@ int main(int argc, char *argv[]) {
|
||||
fprintf(log, "Hello World!\n");
|
||||
fprintf(log, SD_WARNING "This is a warning!\n");
|
||||
fclose(log);
|
||||
return 0;
|
||||
}</programlisting>
|
||||
|
||||
</refsect1>
|
||||
|
Loading…
Reference in New Issue
Block a user