> All,
>
>       Does sync()on cygwin give the same guarantees
>       as it does on other unices ? Does it guarantee
>       that all the file blocks in memory caches are
>       flushed onto disk ?

No, as Chris said it does nothing.  In fact, it's hard to believe, but it's damn
near *impossible* to actually implement sync() on certain Windows platforms, in
particular the NT's up until and including Why2K.  Don't know about XP.
Security issues if the current acct isn't admin.

Hmmm... another good task for cygserver....

--
Gary R. Van Sickle
Brewer.  Patriot.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to