[systemd-devel] bus: suggestion for reading "trough" variants

Peeters Simon peeters.simon at gmail.com
Mon Apr 8 08:03:58 PDT 2013


>
> what I would like to be able to do is something like this:
> sd_bus_message_read(m, "sv+s", &first, &second);

oops, while reading the code i found out that this is already possible
and that the syntax is sd_bus_message_read(m, "sv", &first, "s",
&second);

so thank you very much :)


More information about the systemd-devel mailing list