🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.micro.atari16
1 messages
1 total messages Started by mcewan Sun, 30 Mar 1986 18:22
Re: --- Megamax Printf bug ---
#310
Author: mcewan
Date: Sun, 30 Mar 1986 18:22
17 lines
1352 bytes
> Despite Jwahar R. Bammi's rebuttal, the problem described (no printing
> of statements not  ending in '\n' until explicit buffer flush) is a bug.
> It is possible to use fflush(stdout) to get around it, as he describes,
> but that is not how most standard library printf()s require things.

Just because MOST standard library printf's do not buffer output to the
terminal does not mean that that is the only correct way. This is
implementation-dependent, and anyone who wants to write portatble code
should use fflush, even if it is not required by the library they are
using.

			Scott McEwan
			{ihnp4,pur-ee}!uiucdcs!mcewan

Green s/m watchlizard seeks s/f/wl - object: companionship. Reply
Box 23, Cynosure.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads