winapi - Win32 How to flush I/O buffers of another process? -
i have application executes process , performs activity if hosted process crashes. unfortunately, looks final log buffers not getting flushed. have been searching windows api docs, can't find function can used flush process' disk io buffers. want able call _flushall() hosted process.
before resort stack tweaking @ crash-time, wanted check , see if has knowledge of api function need? or perhaps less invasive way accomplish same thing?
i'd avoid calling fflush after each log write if possible.
Comments
Post a Comment