From b408e2a8be6b87fd1796c45a767d00bbb00d7148 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 12 Dec 2013 22:01:40 +0100 Subject: [PATCH] man: update sd_bus_request_name() man page --- man/sd_bus_request_name.xml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml index 6e61a8873..039b9627e 100644 --- a/man/sd_bus_request_name.xml +++ b/man/sd_bus_request_name.xml @@ -106,9 +106,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 +126,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. -- 2.30.2