problem piping stdout

Owen Lucas owen.lucas@student.adelaide.edu.au
Mon Oct 2 02:08:00 GMT 2006


yep the fflush (stdout) fixes the problem.
I would assume that what some others wrote about changing the buffering mode
would probably work too.

thanks
owen

Quoting Dave Korn <dave.korn@artimi.com>:
>   Something's gone funny with the stdout buffering.  Maybe related to ICANON.
> Try adding a fflush (stdout) after the printf.



More information about the Gcc-help mailing list