Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for sync (opensolaris section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

sync(2) 				   System Calls 				  sync(2)

       sync - update super block

       #include <unistd.h>

       void sync(void);

       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.

       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.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Interface Stability	     |Standard			   |

       df(1M), fsck(1M), fsync(3C), attributes(5), standards(5)

SunOS 5.11				    5 Jul 1990					  sync(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:03 PM.