Missing stdio features.
david at ism780
david at ism780
Tue Aug 5 05:45:00 AEST 1986
My wish list for stdio would include the following function:
flushall ();
Flushall would be used to make sure that all output done to stdio
files was actually written to the file system. Flushall would
fflush all stdio files that are currently in output mode, similar
to what _cleanup does but without closing the files. It would
not affect files that are in input mode. This allows one to not
be concerned with having things flushed until it is required, for
example if one uses the functions fork, exec, sync, ustat, quota,
or abort.
More information about the Comp.lang.c
mailing list