]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Force line-buffering in ibv_asyncwatch
authorHakon Bugge <Haakon.Bugge@sun.com>
Wed, 2 Jun 2010 17:01:10 +0000 (10:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 2 Jun 2010 17:01:10 +0000 (10:01 -0700)
commit67ef5f59250b18067523084e9099e5e2fc6a5bf6
treedfc44de4b6119c148d93eee9a38c084f29140345
parent6fa6bb3f28b3c08146718898a8a2ab8ae759b2b4
Force line-buffering in ibv_asyncwatch

ibv_asyncwatch defaults to block-buffering when stdout is redirected to
a file or pipe.  Changing to line-buffered mode makes it more usable in
scripted environments.

Signed-off-by: Hakon Bugge <Haakon.Bugge@sun.com>
examples/asyncwatch.c