SYNC(3) Library Functions Manual SYNC(3)

syncschedule filesystem updates

#include <unistd.h>

void sync(void);

The sync() function causes all information in memory that updates file systems to be scheduled for writing out to all file systems.

The writing, although scheduled, is not necessarily complete upon return from .

The sync() function returns no value.

No errors are defined.

None.

None.

None.

fsync(3) , <unistd.h> .

February 1997 posix.fail