167
submitted 4 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 4 months ago

Don’t most terminals flush the buffer on newline anyway?

[-] [email protected] 8 points 4 months ago

It is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.

[-] [email protected] 2 points 4 months ago

Maybe, but there is the internal buffer. Also, most I/O happens in files not consoles

this post was submitted on 05 Apr 2025
167 points (95.1% liked)

Programmer Humor

37622 readers
61 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS