Bill Cunningham said:
What exactly do you mean Ben?
I don't know how to say it any clearer. fflush and fpurge are different
and they do different things. I hope you will forgive me if I don't try
to explain what each one does. Manual pages on both of them are easy to
find. I have a good memory, but I could not do any programming without
constant reference to man pages. If you don't have them, you absolutely
need to get them because you say your memory is not good.
I am curious now. I have linux so my
system I doesn't have this function.
My linux system does and it has a man page for fpurge as well as one for
fflush.
Nor do I have STREAMS but luckily unix
sockets can be created for IPC between kernel and user and vice versa.
Fortunately this seems to be off-topic because I have no idea what it
means. If it matters to you there is always comp.unix.programmer.
What
exactly does fflush do and what does it not do that fpurge does?
The both do exactly what the manual pages say they do. I don't usually
reply by saying "read the manual" but in this case I doubt I could
explain it any better than the manual does.