News for hackers. Stuff that matters.
Re:Bugs in Hello World by Erwin on Wednesday March 09, 2022 @12:32PM (#30617459)
The file objects in the library can operate as unbuffered, line-buffered or fully (i.e. block) buffered. When your stdout is connected to a terminal, it is line-buffered and flushes on newline. But when you redirect to a file, it becomes block buffered.

There are no comments on this comment yet.