X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_bus_new.xml;h=59117676fde93e12cea8ed5f675d7775683594fc;hb=651b3b6c923951096894b6fe1ca3b1a6f3b16404;hp=b095518f8fed0069ee5d1be4dd7c0bbf5c982515;hpb=98b0b1123cc67ece6c9983fa303fc3de887a21c3;p=thirdparty%2Fsystemd.git
diff --git a/man/sd_bus_new.xml b/man/sd_bus_new.xml
index b095518f8fe..59117676fde 100644
--- a/man/sd_bus_new.xml
+++ b/man/sd_bus_new.xml
@@ -48,7 +48,7 @@
void sd_bus_unrefp
- sd_bus **bus
+ sd_bus **busp
@@ -96,19 +96,21 @@
block is left:
{
- __attribute__((cleanup(sd_bus_unrefp)) sd_bus *bus = NULL;
- int r;
- â¦
- r = sd_bus_default(&bus);
- if (r < 0)
- fprintf(stderr, "Failed to allocate bus: %s\n", strerror(-r));
- â¦
+ __attribute__((cleanup(sd_bus_unrefp)) sd_bus *bus = NULL;
+ int r;
+ â¦
+ r = sd_bus_default(&bus);
+ if (r < 0)
+ fprintf(stderr, "Failed to allocate bus: %s\n", strerror(-r));
+ â¦
}
- sd_bus_ref(),
- sd_bus_unref() and
- sd_bus_unrefp() execute no operation if the
- passed in bus object is NULL.
+ 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.
+