integer*4 lunit external fsync call fsync ( lunit )
The fsync subroutine saves all modified data for logical unit lunit to permanent storage. On return from the fsync subroutine, all updates have been saved on permanent storage.
fsync (2), fflush (3), flush(3f)