_cleanup() before fork()? (was Re: How to terminate a child ...)

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Jun 4 06:54:36 AEST 1990


In article <775 at mwtech.UUCP> martin at mwtech.UUCP (Martin Weitzel) writes:
>It would be quite helpful if stdio had officially defined some
>"fflush_all()" operation ...

I don't know what an "official stdio" might be, if not ANS X3.159-1989,
which does specify that fflush(NULL) will have the effect you ask for.
Don't try this in nonconforming implementations, though.



More information about the Comp.unix.questions mailing list