Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sync(2) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsync, fcommit

sync



SYNC(2,L)                   AIX Technical Reference                   SYNC(2,L)



-------------------------------------------------------------------------------
sync



PURPOSE

Updates the super block, inodes, and delayed blocks.

SYNTAX

void sync ( )

DESCRIPTION

The sync system call causes all information in memory that should be on disk to
be written out.  The writing, although scheduled, is not necessarily complete
upon return from the sync system call.  Types of information to be written
include modified super blocks, modified inodes, and delayed block I/O.

The sync system call should be used by programs that examine a file system,
such as the df and fsck commands described in AIX Operating System Commands
Reference.

RELATED INFORMATION

In this book:  "fsync, fcommit."

The sync command in AIX Operating System Commands Reference.


























Processed November 7, 1990         SYNC(2,L)                                  1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026