opensolaris man page for sync

Query: sync

OS: opensolaris

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

sync(2) 							   System Calls 							   sync(2)

NAME
sync - update super block
SYNOPSIS
#include <unistd.h> void sync(void);
DESCRIPTION
The sync() function writes all information in memory that should be on disk, including modified super blocks, modified inodes, and delayed block I/O. Unlike fsync(3C), which completes the writing before it returns, sync() schedules but does not necessarily complete the writing before returning.
USAGE
The sync() function should be used by applications that examine a file system, such as fsck(1M), and df(1M), and is mandatory before rebooting.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+
SEE ALSO
df(1M), fsck(1M), fsync(3C), attributes(5), standards(5) SunOS 5.11 5 Jul 1990 sync(2)
Related Man Pages
syncfs(2) - linux
syncfs(2) - x11r4
syncfs(2) - php
syncfs(2) - hpux
syncfs(2) - minix
Similar Topics in the Unix Linux Community
how to sync remote folders without overwriting
sync files from two different servers.
Having a problem with the time sync from Solaris 10 to VirtualBox
Faster dd for disk clone
How can we automaitcally sync/copy files from one directoy to another ?