sync man page on SmartOS

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

SYNC(2)								       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  return‐
       ing.

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  reboot‐
       ing.

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)

				  Jul 5, 1990			       SYNC(2)
[top]

List of man pages available for SmartOS

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