Hacker News

We can do better than line-buffered output

39 points by zdw ago | 1 comments

wpollock [-]

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.