SYNC(2-SysV) RISC/os Reference Manual SYNC(2-SysV)
NAME
sync - update super block
SYNOPSIS
void sync ( )
DESCRIPTION
sync causes all information in memory that should be on disk
to be written out. This includes modified super blocks,
modified i-nodes, and delayed block I/O.
It should be used by programs which examine a file system,
for example fsck, df, etc. It is mandatory before a re-
boot.
The writing, although scheduled, is not necessarily complete
upon return from sync.
Printed 1/15/91 Page 1