Relative Content

Tag Archive for cstdoutfputs

Why is stdout behaving unbuffered by default? (mingw-w64 gcc)

I’ve been doing some exercises with printing to streams in C.
Today I’ve been a bit confused: as I understand in most implementations of the C standard library, the default behaviour of stdout is block buffered (or line buffered when connected to a terminal), but in my case it seems to be unbuffered.