close: update man page for stuff we fixed
authorAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:52:02 +0000 (22:52 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:52:02 +0000 (22:52 +0100)
Applications/man2/close.2

index 0fd3bd8..acae3a6 100644 (file)
@@ -24,12 +24,7 @@ On success, zero is returned. On error -1 is returned and errno is set.
 ## CONFORMING TO
 V7, UZI, POSIX.1-2001, POSIX.1-2008
 ## NOTES
-The return of a *close*() call does not guarantee that the data is on the
-media. If this is required then a call to *sync*(2) is needed.
-## BUGS
-Many systems provide an *fsync*(2) and *fdatasync*(2) call to write back the
-data on just one file. In a small system like Fuzix this is not useful as
-*sync*(2) is just as good, but ought to be provided by wrappers in the C
-library.
+The return of a *close*() call does not guarantee that the file is on the
+media. If this is required then a call to *fsync*(3) is needed.
 ## SEE ALSO
-*flock*(2), *open*(2), *pipe*(2), *socket*(2), *sync*(2), *unlink*(2).
+*flock*(2), *fsync*(3), *open*(2), *pipe*(2), *socket*(2), *sync*(2), *unlink*(2).