summaryrefslogtreecommitdiff
path: root/seq
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-02-21 09:12:53 +0100
committerClemens Ladisch <clemens@ladisch.de>2008-02-21 09:12:53 +0100
commit8e2046bed5a597ca2f96aa8edc43f8f2fac6f7b2 (patch)
treec7ee911ba171f48c06de1ce2384caa9399d06280 /seq
parent23f3e570ccf416530327a298bd54d59c4c5a500a (diff)
downloadalsa-utils-8e2046bed5a597ca2f96aa8edc43f8f2fac6f7b2.tar.gz
aseqdump: flush output
Flush the output after all currently available events have been printed to allow filtering interactive output through a pipe.
Diffstat (limited to 'seq')
-rw-r--r--seq/aseqdump/aseqdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c
index 1cf210d..5122bbb 100644
--- a/seq/aseqdump/aseqdump.c
+++ b/seq/aseqdump/aseqdump.c
@@ -428,6 +428,7 @@ int main(int argc, char *argv[])
if (event)
dump_event(event);
} while (err > 0);
+ fflush(stdout);
if (stop)
break;
}