diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-06 23:24:20 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-06 23:24:20 -0500 |
commit | effbc8e4f70fc70e4a4a8a1dc77228dd187f9c22 (patch) | |
tree | 68eb8ca6be6b7253d093e42992368cad51271809 /src | |
parent | a0e5b17733f2146d727edfdb0ebf8482a8c3bf6c (diff) |
man: describe functions for appending to messages
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-marshal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-marshal.c b/src/libsystemd/sd-bus/test-bus-marshal.c index 85aaf95d6c..d438a231a6 100644 --- a/src/libsystemd/sd-bus/test-bus-marshal.c +++ b/src/libsystemd/sd-bus/test-bus-marshal.c @@ -79,6 +79,9 @@ int main(int argc, char *argv[]) { r = sd_bus_message_new_method_call(NULL, &m, "foobar.waldo", "/", "foobar.waldo", "Piep"); assert_se(r >= 0); + r = sd_bus_message_append(m, ""); + assert_se(r >= 0); + r = sd_bus_message_append(m, "s", "a string"); assert_se(r >= 0); |