man/sd_bus_slot_set_floating: Improve wording around b parameter

This commit is contained in:
Jesper Nilsson
2025-04-26 17:39:56 +02:00
committed by Yu Watanabe
parent 406f5ea700
commit d93292bc59

View File

@@ -51,8 +51,8 @@
referenced bus slot object around. The floating state hence controls the direction of referencing between the bus referenced bus slot object around. The floating state hence controls the direction of referencing between the bus
object and the bus slot objects: if floating the bus pins the bus slot, and otherwise the bus slot pins the bus object and the bus slot objects: if floating the bus pins the bus slot, and otherwise the bus slot pins the bus
objects. Use <function>sd_bus_slot_set_floating()</function> to switch between both modes: if the objects. Use <function>sd_bus_slot_set_floating()</function> to switch between both modes: if the
<parameter>b</parameter> parameter is zero, the slot object is considered floating, otherwise it is made a regular <parameter>b</parameter> parameter is zero, the slot object is made into a regular (non-floating) slot object,
(non-floating) slot object.</para> otherwise it is made into a floating slot object.</para>
<para>Bus slot objects may be allocated with calls such as <para>Bus slot objects may be allocated with calls such as
<citerefentry><refentrytitle>sd_bus_add_match</refentrytitle><manvolnum>3</manvolnum></citerefentry>. If the <citerefentry><refentrytitle>sd_bus_add_match</refentrytitle><manvolnum>3</manvolnum></citerefentry>. If the