sync man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

SYNC(2)			  OpenBSD Programmer's Manual		       SYNC(2)

NAME
     sync - synchronize disk block in-core status with that on disk

SYNOPSIS
     #include <unistd.h>

     void
     sync(void);

DESCRIPTION
     The sync() function forces a write of dirty (modified) buffers in the
     block buffer cache out to disk.  The kernel keeps this information in
     core to reduce the number of disk I/O transfers required by the system.
     As information in the cache is lost after a system crash a sync() call is
     issued frequently by the in-kernel process update(8) (about every 30
     seconds).

     The function fsync(2) may be used to synchronize individual file
     descriptor attributes.

SEE ALSO
     fsync(2), sync(8), update(8)

HISTORY
     A sync() function call appeared in Version 2 AT&T UNIX.

BUGS
     sync() may return before the buffers are completely flushed.

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net