Mail Archives: djgpp/1997/01/28/00:09:19
> If you need to flush the stdout buffer, I believe there is a function
> somewhere to do that (libc reference is not handy right now!), fflush
> perhaps? There is even a way to shrink the stdout buffer if you need to.
> Sorry I don't remember it off the top of my head, but I hope this helps.
yeh it's fflush. eg. you can do
printf("hello");
fflush(stdout);
which will ensure it gets put to screen. or write direct to screen with cprintf,
which isn't buffered i think.
nik
--
Graham Tootell GameBoutique Ltd. - THE online gaming experience
nikki AT gameboutique DOT com http://www.gameboutique.com
- Raw text -