logoalt Hacker News

We can do better than line-buffered output

41 points • by zdw • today at 3:25 PM • 1 comment • view on HN

Comments

wpollock • today at 5:43 PM

In C, you can use setvbuf to control buffering on stdout. There are also Linux command line utilities you can use to control buffering, unbuffer and stdbuf.