summaryrefslogtreecommitdiff
path: root/man/sd_bus_request_name.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-13 16:01:54 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-13 16:01:54 +0100
commita56b63f41dc779a86573ae77814c14c1db156398 (patch)
tree00a4f9c5bf7611380000746548aec19f14166517 /man/sd_bus_request_name.xml
parent043ccd8383a36a9d4f7b37c04670c9e6a57f391d (diff)
man: document more error codes for sd_bus_request_name()
Diffstat (limited to 'man/sd_bus_request_name.xml')
-rw-r--r--man/sd_bus_request_name.xml22
1 files changed, 19 insertions, 3 deletions
diff --git a/man/sd_bus_request_name.xml b/man/sd_bus_request_name.xml
index 039b9627e3..23d49fb4ca 100644
--- a/man/sd_bus_request_name.xml
+++ b/man/sd_bus_request_name.xml
@@ -56,7 +56,7 @@
<funcdef>int <function>sd_bus_request_name</function></funcdef>
<paramdef>sd_bus* <parameter>bus</parameter></paramdef>
<paramdef>const char *<parameter>name</parameter></paramdef>
- <paramdef>unsigned <parameter>flags</parameter></paramdef>
+ <paramdef>uint64_t <parameter>flags</parameter></paramdef>
</funcprototype>
<funcprototype>
@@ -64,8 +64,6 @@
<paramdef>sd_bus* <parameter>bus</parameter></paramdef>
<paramdef>const char *<parameter>name</parameter></paramdef>
</funcprototype>
-
-
</funcsynopsis>
</refsynopsisdiv>
@@ -165,6 +163,24 @@
</varlistentry>
<varlistentry>
+ <term><varname>-ESRCH</varname></term>
+
+ <listitem><para>It was attemted to
+ release a name that is currently not
+ registered on the
+ bus.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>-EADDRINUSE</varname></term>
+
+ <listitem><para>It was attemted to
+ release a name that is owned by a
+ different peer on the
+ bus.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>-EINVAL</varname></term>
<listitem><para>A specified parameter