Question: is fsync a system call?
Answer: The sync( ), fsync( ), and fdatasync( ) System Calls Allows a process to flush all dirty buffers to disk. fsync( ) Allows a process to flush all blocks that belong to a specific open file to disk. fdatasync( )