https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97834
--- Comment #9 from Roland Illig <roland.illig at gmx dot de> --- (In reply to Roland Illig from comment #7) > I wonder why on NetBSD there is no buffering but on Linux there is. > Both stdio implementations are so old that I don't expect any bugs > in this area anymore. It's good to state the obvious assumptions as well. The above assumption was wrong, as NetBSD's stdio is indeed inefficient in unbuffered mode: https://gnats.netbsd.org/55808