diff options
-rw-r--r-- | man/sd_bus_message_read.xml | 18 | ||||
-rw-r--r-- | man/sd_bus_message_read_basic.xml | 6 |
2 files changed, 20 insertions, 4 deletions
diff --git a/man/sd_bus_message_read.xml b/man/sd_bus_message_read.xml index 0b921258dc..aa325f39c2 100644 --- a/man/sd_bus_message_read.xml +++ b/man/sd_bus_message_read.xml @@ -172,7 +172,23 @@ <para>On success, these functions return a non-negative integer. On failure, they return a negative errno-style error code.</para> - <xi:include href="sd_bus_message_read_basic.xml" xpointer="errors" /> + <refsect2 id='errors'> + <title>Errors</title> + + <para>Returned errors may indicate the following problems:</para> + + <variablelist> + <xi:include href="sd_bus_message_read_basic.xml" xpointer="errors-einval"/> + <xi:include href="sd_bus_message_read_basic.xml" xpointer="errors-enxio"/> + <xi:include href="sd_bus_message_read_basic.xml" xpointer="errors-ebadmsg"/> + <varlistentry> + <term><constant>-EBUSY</constant></term> + + <listitem><para>When reading from a container, this error will be returned if unread elements + are left in the container.</para></listitem> + </varlistentry> + </variablelist> + </refsect2> </refsect1> <xi:include href="libsystemd-pkgconfig.xml" /> diff --git a/man/sd_bus_message_read_basic.xml b/man/sd_bus_message_read_basic.xml index bd5a149a26..55951430e6 100644 --- a/man/sd_bus_message_read_basic.xml +++ b/man/sd_bus_message_read_basic.xml @@ -199,21 +199,21 @@ <para>Returned errors may indicate the following problems:</para> <variablelist> - <varlistentry> + <varlistentry id="errors-einval"> <term><constant>-EINVAL</constant></term> <listitem><para>Specified type string is invalid or the message parameter is <constant>NULL</constant>.</para></listitem> </varlistentry> - <varlistentry> + <varlistentry id="errors-enxio"> <term><constant>-ENXIO</constant></term> <listitem><para>The message does not contain the specified type at current position. </para></listitem> </varlistentry> - <varlistentry> + <varlistentry id="errors-ebadmsg"> <term><constant>-EBADMSG</constant></term> <listitem><para>The message cannot be parsed.</para></listitem> |