]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Flush stdout after each iteration.
authormav <mav@FreeBSD.org>
Wed, 6 Mar 2019 15:19:04 +0000 (15:19 +0000)
committermav <mav@FreeBSD.org>
Wed, 6 Mar 2019 15:19:04 +0000 (15:19 +0000)
commit21579acacbd962c2a69d882194ba50fba3bffcfe
treed63390f19e0402830faaff43bd238b11a0d7e726
parent33436807929738dccab4da85728a5b11458d1bca
Flush stdout after each iteration.

Without this, if output is redirected from the console, it is buffered for
too long, making tool quite unusable.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
usr.bin/ctlstat/ctlstat.c