Re: scanf behaviour



Ian Collins said:

<snip>

Just curious, has fflush( stdin ) always been undefined, rather than
implementation defined?

Yes.

The Solaris version makes sense to me.

How can flushing input make sense? You flush toilets, not taps.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.



Relevant Pages