diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-06-15 10:25:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-06-30 10:55:39 +0200 |
commit | 628f7b1e706907d2520b3e51878bce3c787613c5 (patch) | |
tree | 17a97c9d3ff3ff97c5b30fe3dfa4e1f66cf2af55 /man/sd_bus_message_dump.xml | |
parent | 7e922b05844fd3c4db51b565c1b946eb2f92f0fd (diff) | |
download | systemd-628f7b1e706907d2520b3e51878bce3c787613c5.tar.gz |
sd-bus: use assert_return() in public function sd_bus_message_dump
Also, document that NULL is allowed.
Diffstat (limited to 'man/sd_bus_message_dump.xml')
-rw-r--r-- | man/sd_bus_message_dump.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man/sd_bus_message_dump.xml b/man/sd_bus_message_dump.xml index eac0541ca4..83a4a4e31a 100644 --- a/man/sd_bus_message_dump.xml +++ b/man/sd_bus_message_dump.xml @@ -44,9 +44,10 @@ <title>Description</title> <para>The <function>sd_bus_message_dump()</function> function writes a textual representation of the - message <parameter>m</parameter> to the stream <parameter>f</parameter>. This function is intended to be - used for debugging purposes, and the output is neither stable nor designed to be machine readable. - </para> + message <parameter>m</parameter> to the stream <parameter>f</parameter>. If <parameter>f</parameter> is + <constant>NULL</constant>, standard output (<constant>stdio</constant>) will be used. This function is + intended to be used for debugging purposes, and the output is neither stable nor designed to be machine + readable.</para> <para>The <parameter>flags</parameter> parameter may be used to modify the output. With <constant>SD_BUS_MESSAGE_DUMP_WITH_HEADER</constant>, a header that specifies the message type and flags |