Need of fflush in multithreaded program

Hi,

We have a application containing multiple thread. File operations are handled in multiple threads.
Will the fwrite() return only after sending the data to the lower driver or do we need to invoke fflush() after fwrite() to ensure the complete data is written before file close.

Thanks for your support.
Priya

Parents Reply Children
No data
More questions in this forum