aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/nonblocking/write.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 14:40:46 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 14:40:46 +0200
commit0d44f16f6738c0776edf60b84f49f0c6f875a8fe (patch)
treeacc2a01cea1f7c7458c8ccc6ec4b37fa5ccb5d0f /doc/examples/nonblocking/write.c
parentupdate documentation for bus_poll (diff)
downloadbus-0d44f16f6738c0776edf60b84f49f0c6f875a8fe.tar.gz
bus-0d44f16f6738c0776edf60b84f49f0c6f875a8fe.tar.bz2
bus-0d44f16f6738c0776edf60b84f49f0c6f875a8fe.tar.xz
style + add timed read example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/nonblocking/write.c')
-rw-r--r--doc/examples/nonblocking/write.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/nonblocking/write.c b/doc/examples/nonblocking/write.c
index 7fe9690..afe957b 100644
--- a/doc/examples/nonblocking/write.c
+++ b/doc/examples/nonblocking/write.c
@@ -11,7 +11,8 @@ static char message[BUS_MEMORY_SIZE];
-int main(int argc, char *argv[])
+int
+main(int argc, char *argv[])
{
bus_t bus;
if (argc < 2) {