Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sync(2) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sync(8)

fsync(2)

standards(5)

sync(2)  —  System Calls

NAME

sync − Update all file systems

SYNOPSIS

#include <unistd.h>
void sync(
        void );

STANDARDS

Interfaces documented on this reference page conform to industry standards as follows:

sync(): XSH4.2, XSH5.0

Refer to the standards(5) reference page for more information about industry standards and associated tags. 

DESCRIPTION

The sync() function 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() function. Types of information to be written include modified superblocks, inodes, data blocks, and indirect blocks. 

The sync() function should be used by programs that examine a file system, such as the df and fsck commands. 

SEE ALSO

Commands: sync(8)

Functions: fsync(2)

Standards: standards(5)

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