summaryrefslogtreecommitdiff
path: root/man/sd_bus_list_names.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-04-22 08:00:25 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-04-22 08:42:50 +0200
commit42f5c9a3352cab66f7f5ca80d02bca6269515cb8 (patch)
tree62750160e1c02c7f00a389264b246940b4baea96 /man/sd_bus_list_names.xml
parente5f1a3faab18d90cb0562aff541a3666de5fdd6a (diff)
downloadsystemd-42f5c9a3352cab66f7f5ca80d02bca6269515cb8.tar.gz
sd-bus: Clarify sd_bus_list_names results ownership
Diffstat (limited to 'man/sd_bus_list_names.xml')
-rw-r--r--man/sd_bus_list_names.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/man/sd_bus_list_names.xml b/man/sd_bus_list_names.xml
index d1aba6ef52..ad7ecd00e3 100644
--- a/man/sd_bus_list_names.xml
+++ b/man/sd_bus_list_names.xml
@@ -45,10 +45,9 @@
<parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
org.freedesktop.DBus.ListActivableNames</ulink> to retrieve the list of all names on the bus that can be
- activated. Note that ownership of any string arrays returned by <function>sd_bus_list_names()</function>
- is transferred to the caller and hence, the caller is responsible for freeing any results stored by
- <function>sd_bus_list_names()</function> in <parameter>acquired</parameter> and
- <parameter>activatable</parameter>.</para>
+ activated. Note that ownership of the arrays returned by <function>sd_bus_list_names()</function> in
+ <parameter>acquired</parameter> and <parameter>activatable</parameter> is transferred to the caller and
+ hence, the caller is responsible for freeing these arrays and their contents.</para>
</refsect1>
<refsect1>