This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: working sync() code
- From: "GARY VANSICKLE" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin at cygwin dot com>
- Date: Sun, 11 Apr 2004 00:11:26 -0500
- Subject: RE: working sync() code
[snip]
>
> SUSv3 has this to say about sync():
>
> <quote>
> The sync() function shall cause all information in memory that updates
> file
> systems to be scheduled for writing out to all file systems.
>
> The writing, although scheduled, is not necessarily complete upon return
> from
> sync().
> </quote>
>
"scheduled for writing out"? Isn't that done at the time any
file/filesystem calls are made? Unless I'm missing something, that quote
translates to, "sync() does nothing".
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/