Is there any way to get the flushall() function to work in Pelles? It doesn't seem to recognize it as a valid function.
Have you already checked, if there is a command available in PellesC, that flushes all the open streams ???
If you search the help for flush, you will find a way to flush all open streams.