X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_request_name.xml;h=23d49fb4caa15305a92c723911e878ad8d5ef8c8;hb=220ec97ad65150542bb9c8a1ba20b19ea0d49ff8;hp=6e61a88737a3fda177acf7748618d3314e5e804a;hpb=e7176abbe818c75c6acd90227a7a84c3e05fee31;p=elogind.git
diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml
index 6e61a8873..23d49fb4c 100644
--- a/man/sd_bus_request_name.xml
+++ b/man/sd_bus_request_name.xml
@@ -56,7 +56,7 @@
int sd_bus_request_name
sd_bus* bus
const char *name
- unsigned flags
+ uint64_t flags
@@ -64,8 +64,6 @@
sd_bus* bus
const char *name
-
-
@@ -106,9 +104,9 @@
- SD_BUS_NAME_DO_NOT_QUEUE
+ SD_BUS_NAME_QUEUE
- Do not queue name
+ Queue name
acquisition when the name is already
taken.
@@ -126,16 +124,15 @@
integer. On failure, these calls return a negative
errno-style error code.
- sd_bus_request_name() will
- return 0 when the name is already taken by another
- peer and the client has been added to the queue for
- the name, unless
- SD_BUS_NAME_DO_NOT_QUEUE has been
- set. The caller can subscribe to
- NameOwnerChanged signals to be
- notified when the name is successfully
- acquired. sd_bus_request_name() returns
- > 0 when the name has been
+ If SD_BUS_NAME_QUEUE is
+ specified sd_bus_request_name()
+ will return 0 when the name is already taken by
+ another peer and the client has been added to the
+ queue for the name. In that case the caller can
+ subscribe to NameOwnerChanged
+ signals to be notified when the name is successfully
+ acquired. sd_bus_request_name()
+ returns > 0 when the name has immediately been
acquired successfully.
@@ -165,6 +162,24 @@
name.
+
+ -ESRCH
+
+ It was attemted to
+ release a name that is currently not
+ registered on the
+ bus.
+
+
+
+ -EADDRINUSE
+
+ It was attemted to
+ release a name that is owned by a
+ different peer on the
+ bus.
+
+
-EINVAL