From c660668ed9daf15358c522c09ba3932393bd5451 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 10 Nov 2020 05:57:41 +0900 Subject: [PATCH] man: mention that sd_bus_call() may return a negative errno mapped from D-Bus error reply Closes #17556. --- man/sd_bus_call.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man/sd_bus_call.xml b/man/sd_bus_call.xml index 2c27f934ac..3eeccdb63e 100644 --- a/man/sd_bus_call.xml +++ b/man/sd_bus_call.xml @@ -104,7 +104,12 @@ Errors - Returned errors may indicate the following problems: + Returned errors may indicate the following problems. When + sd_bus_call() internally receives a D-Bus error reply, it will set + ret_error if it is not NULL, and will return a + negative value mapped from the error reply. See + sd_bus_error_get_errno3. + @@ -180,7 +185,8 @@ sd_bus_call_method3, sd_bus_call_method_async3, sd_bus_message_new_method_call3, - sd_bus_message_append3 + sd_bus_message_append3, + sd_bus_error3 -- 2.25.1