Penguin

Differences between version 3 and previous revision of fsync(2).

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Thursday, November 7, 2002 12:19:21 am by PerryLorier Revert
Older page: version 2 Last edited on Thursday, November 7, 2002 12:18:22 am by PerryLorier Revert
@@ -7,9 +7,9 @@
  
  __#include <unistd>__ 
  __int fsync(int__ ''fd''__);__ 
  
- !DESCRIPTION 
+! !DESCRIPTION 
 fsync(2) copies all in-core parts of a file to disk, and waits until the device reports that all parts are on stable storage. It also updates metadata stat information. It does not necessarily ensure that the entry in the directory containing the file has also reached disk. For that an explicit fsync(2) on the file descriptor of the directory is also needed. 
  
 !!RETURN VALUE 
 On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately. 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.