From: Yu Watanabe Date: Mon, 9 Nov 2020 20:57:41 +0000 (+0900) Subject: man: mention that sd_bus_call() may return a negative errno mapped from D-Bus error... X-Git-Tag: v247-rc2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c660668ed9daf15358c522c09ba3932393bd5451;p=thirdparty%2Fsystemd.git man: mention that sd_bus_call() may return a negative errno mapped from D-Bus error reply Closes #17556. --- diff --git a/man/sd_bus_call.xml b/man/sd_bus_call.xml index 2c27f934ac1..3eeccdb63ee 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