SYNC-FUNCTION (op-code 14)

This routine causes all file buffers to be flushed to disk. The SYNC routine has only one parameter, all_files, which is a bit field. If

(all_files & FA-MASS-UPDATE) 

is non-zero, then MASS-UPDATE files should be synced. If

(all_files & FA-REMOTE) 

is non-zero, then remote files should be synced.

The constants FA-MASS-UPDATE and FA-REMOTE are defined in filesys.def.

The exact effect of this routine depends on the host file system. It is entirely possible that this routine will do nothing under a particular system. Because of the highly host-dependent nature of this routine, no error reporting is done.