]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Updated manpage for sd_bus_set_property
authorBen Stockett <thebenperson@pm.me>
Fri, 9 Jul 2021 20:29:36 +0000 (20:29 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 10 Jul 2021 12:19:50 +0000 (13:19 +0100)
Updated manpage for sd_bus_set_property and sd_bus_set_propertyv. In the old manpage, these functions included the parameter sd_bus_message **reply when the actual function had no such argument.

man/sd_bus_set_property.xml

index 66477b3500a58933d2e8469d08eeb013ba2e3a32..d6a410e797ca135576e9584280f9f6e4e4e326d7 100644 (file)
@@ -39,7 +39,6 @@
         <paramdef>const char *<parameter>interface</parameter></paramdef>
         <paramdef>const char *<parameter>member</parameter></paramdef>
         <paramdef>sd_bus_error *<parameter>ret_error</parameter></paramdef>
-        <paramdef>sd_bus_message **<parameter>reply</parameter></paramdef>
         <paramdef>const char *<parameter>type</parameter></paramdef>
         <paramdef>...</paramdef>
       </funcprototype>
@@ -52,7 +51,6 @@
         <paramdef>const char *<parameter>interface</parameter></paramdef>
         <paramdef>const char *<parameter>member</parameter></paramdef>
         <paramdef>sd_bus_error *<parameter>ret_error</parameter></paramdef>
-        <paramdef>sd_bus_message **<parameter>reply</parameter></paramdef>
         <paramdef>const char *<parameter>type</parameter></paramdef>
         <paramdef>va_list <parameter>ap</parameter></paramdef>
       </funcprototype>
     <citerefentry><refentrytitle>sd_bus_call_method</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
     </para>
 
-    <para><function>sd_bus_set_property()</function> sets a D-Bus property. On success, the response
-    is stored in <parameter>reply</parameter>. If setting the property fails or an internal error
-    occurs, an error is returned and an extended description of the error is optionally stored in
-    <parameter>ret_error</parameter> if it is not <constant>NULL</constant>.
+    <para><function>sd_bus_set_property()</function> sets a D-Bus property. If setting the property
+    fails or an internal error occurs, an error is returned and an extended description of the error
+    is optionally stored in <parameter>ret_error</parameter> if it is not <constant>NULL</constant>.
     <parameter>type</parameter> and the arguments that follow it describe the new value of the
     property and must follow the format described in
     <citerefentry><refentrytitle>sd_bus_message_append</refentrytitle><manvolnum>3</manvolnum></citerefentry>.