diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-09 22:38:36 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-11-12 09:10:32 +0100 |
commit | 725d9713a9f8d9eddf665aefffee04a5d18f1179 (patch) | |
tree | 95753bc4dadd761847f19d6b08b4ce2de16f3396 /man/sd_journal_print.xml | |
parent | man: fix tag (diff) | |
download | systemd-725d9713a9f8d9eddf665aefffee04a5d18f1179.tar.xz systemd-725d9713a9f8d9eddf665aefffee04a5d18f1179.zip |
man: append parentheses for function name
Diffstat (limited to 'man/sd_journal_print.xml')
-rw-r--r-- | man/sd_journal_print.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index 47b1f8ab1b..68a4a0a5c0 100644 --- a/man/sd_journal_print.xml +++ b/man/sd_journal_print.xml @@ -192,10 +192,10 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( <constant>SD_JOURNAL_SUPPRESS_LOCATION</constant> before including <filename>sd-journal.h</filename>. </para> - <para><function>sd_journal_print_with_location</function>, - <function>sd_journal_printv_with_location</function>, <function>sd_journal_send_with_location</function>, - <function>sd_journal_sendv_with_location</function>, and - <function>sd_journal_perror_with_location</function> are similar to their counterparts without + <para><function>sd_journal_print_with_location()</function>, + <function>sd_journal_printv_with_location()</function>, <function>sd_journal_send_with_location()</function>, + <function>sd_journal_sendv_with_location()</function>, and + <function>sd_journal_perror_with_location()</function> are similar to their counterparts without <literal>_with_location</literal>, but accept additional parameters to explicitly set the source file name, function, and line. Those arguments must contain valid journal entries including the variable name, e.g. <literal>CODE_FILE=src/foo.c</literal>, <literal>CODE_LINE=666</literal>, @@ -243,10 +243,10 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid( <citerefentry project='man-pages'><refentrytitle>signal-safety</refentrytitle><manvolnum>7</manvolnum></citerefentry>. </para> - <para><function>sd_journal_print</function>, - <function>sd_journal_printv</function>, - <function>sd_journal_send</function>, - <function>sd_journal_perror</function>, + <para><function>sd_journal_print()</function>, + <function>sd_journal_printv()</function>, + <function>sd_journal_send()</function>, + <function>sd_journal_perror()</function>, and their counterparts with <literal>_with_location</literal> are not async signal safe.</para> </refsect1> |