From 2a1a7910f9af6ec1ce0e5e6e8f271e3ea89b9d8b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Apr 2022 11:51:52 +0200 Subject: man: add page for sd_device_{ref,unref,unrefp} Gotta start somewhere. --- man/sd_bus_new.xml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'man/sd_bus_new.xml') diff --git a/man/sd_bus_new.xml b/man/sd_bus_new.xml index 355b34bad8..41964640b6 100644 --- a/man/sd_bus_new.xml +++ b/man/sd_bus_new.xml @@ -109,7 +109,7 @@ pointer to an sd_bus object. This call is useful in conjunction with GCC's and LLVM's Clean-up - Variable Attribute. Note that this function is defined as + Variable Attribute. Note that this function is defined as an inline function. Use a declaration like the following, in order to allocate a bus object that is freed automatically as the code block is left: @@ -124,12 +124,10 @@ … } - sd_bus_ref() and sd_bus_unref() - execute no operation if the passed in bus object address is - NULL. sd_bus_unrefp() will first - dereference its argument, which must not be NULL, and will - execute no operation if that is NULL. - + sd_bus_ref() and sd_bus_unref() execute no operation if + the argument is NULL. sd_bus_unrefp() will first dereference + its argument, which must not be NULL, and will execute no operation if + that is NULL. sd_bus_close_unref() is similar to sd_bus_unref(), but first executes -- cgit v1.2.3