On Mo, 25.07.22 12:21, Mathis MARION (mamari...@silabs.com) wrote:
> I looked a bit into the source code:
>
> This part is responsible for storing the message processed in *ret:
>
> static int process_running(sd_bus *bus, sd_bus_message **ret) {
> [...]
> r = process_message(bus, m);
>
I looked a bit into the source code:
This part is responsible for storing the message processed in *ret:
static int process_running(sd_bus *bus, sd_bus_message **ret) {
[...]
r = process_message(bus, m);
if (r != 0)
goto null_message;
if (ret) {
Hello,
I am trying to retrieve an sd_bus_message using the 'ret' argument of
sd_bus_process().
The documentation says the following:
sd_bus_process() processes at most one incoming message per call. If
the parameter ret is not NULL and the call processed a message, *ret
is set to this mes