Hacker News
points by wpollock 2 days ago | 0 comments
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.
[–] usefulcat 2 days ago
This is true, although neither of those by them selves will achieve what the author is aiming for.
[–] cassepipe 2 days ago
If you want to learn more, I liked this blog post: https://hmarr.com/blog/how-stdbuf-works/
Hacker News