December 17, 2017, 09:41:22 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: fflush and fsync??  (Read 2266 times)

Offline power

  • New Member
  • Posts: 1
fflush and fsync??
« on: November 01, 2005, 08:35:26 AM »
Hello....

I want to ask a C programming question on Linux...

fflush and fsync both said to be putting the data in buffers to devices. But what is the differences between them??

In fact, I want to force my data in buffers (after calling fwrite) to be put to the harddisk, what functions should I call??

Thank you.

Danny.