aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/timed/poll.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 14:49:22 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 14:49:22 +0200
commit5411b208af6b45cd45b00f45bc135b65a7ae899f (patch)
treebe4d56e8b7a3efb63018d702f327a4b7c7662fad /doc/examples/timed/poll.c
parentm (diff)
downloadbus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.gz
bus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.bz2
bus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.xz
timed write example3.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/examples/timed/poll.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/examples/timed/poll.c b/doc/examples/timed/poll.c
index d57d4ea..5ae45d4 100644
--- a/doc/examples/timed/poll.c
+++ b/doc/examples/timed/poll.c
@@ -24,7 +24,6 @@ main()
if (message == NULL) {
t(errno != EAGAIN);
printf("waiting... %lli\n", ++tick);
- sleep(1);
continue;
}
tick = 0;