diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-25 18:19:04 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-25 18:19:04 +0200 |
commit | 134aea8dd229daf938b109af7176be667e4201fb (patch) | |
tree | 61a4191d2a7a3309cb1c9601b7753e9ddc67c395 /doc/examples/telephony-and-music/init.c | |
parent | typo (diff) | |
download | bus-134aea8dd229daf938b109af7176be667e4201fb.tar.gz bus-134aea8dd229daf938b109af7176be667e4201fb.tar.bz2 bus-134aea8dd229daf938b109af7176be667e4201fb.tar.xz |
add telephony-and-music example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/telephony-and-music/init.c')
-rw-r--r-- | doc/examples/telephony-and-music/init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/examples/telephony-and-music/init.c b/doc/examples/telephony-and-music/init.c new file mode 100644 index 0000000..870e10d --- /dev/null +++ b/doc/examples/telephony-and-music/init.c @@ -0,0 +1,8 @@ +#include <bus.h> +#include <stdio.h> + +int main() +{ + return bus_create("/tmp/example-bus", 0, NULL) && (perror("init"), 1); +} + |