diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-02-21 09:12:53 +0100 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2008-02-21 09:12:53 +0100 |
commit | 8e2046bed5a597ca2f96aa8edc43f8f2fac6f7b2 (patch) | |
tree | c7ee911ba171f48c06de1ce2384caa9399d06280 /seq | |
parent | 23f3e570ccf416530327a298bd54d59c4c5a500a (diff) | |
download | alsa-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.c | 1 |
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; } |