mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: Speicfy exact return values of sd_bus_message_enter_container
This commit is contained in:
parent
a75471ced1
commit
1edc1f1b62
@ -100,8 +100,13 @@
|
|||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Return Value</title>
|
<title>Return Value</title>
|
||||||
|
|
||||||
<para>On success, these functions return a non-negative integer. On failure, they return a negative
|
<para>On success, these functions return a non-negative integer.
|
||||||
errno-style error code.</para>
|
<function>sd_bus_message_open_container()</function> and <function>sd_bus_message_close_container()</function>
|
||||||
|
return 0.
|
||||||
|
<function>sd_bus_message_enter_container()</function> returns 1 if it successfully opened a new container, and 0 if
|
||||||
|
that was not possible because the end of the currently open container or message was reached.
|
||||||
|
<function>sd_bus_message_exit_container()</function> returns 1 on success.
|
||||||
|
On failure, all of these functions return a negative errno-style error code.</para>
|
||||||
|
|
||||||
<refsect2>
|
<refsect2>
|
||||||
<title>Errors</title>
|
<title>Errors</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user