From 0d44f16f6738c0776edf60b84f49f0c6f875a8fe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 May 2015 14:40:46 +0200 Subject: style + add timed read example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/examples/nonblocking/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/examples/nonblocking/init.c') diff --git a/doc/examples/nonblocking/init.c b/doc/examples/nonblocking/init.c index 870e10d..d1325fb 100644 --- a/doc/examples/nonblocking/init.c +++ b/doc/examples/nonblocking/init.c @@ -1,7 +1,8 @@ #include #include -int main() +int +main() { return bus_create("/tmp/example-bus", 0, NULL) && (perror("init"), 1); } -- cgit v1.2.3-70-g09d2