Mono Class Library: Mono.Posix.Syscall Overview | MembersMono.Posix.Syscall.sync Method |
sync forces "dirty" (modified) filesystem buffers to be written to disk. [Edit]
|
This member is obsolete. Please use Mono.Unix.Native.Syscall.sync instead.
The filesystem buffer cache is generally write-behind, for best performance. But since the cache is not persistent, it should be flushed periodically. A sync() call is issued by the update daemon periodically.
[Edit]
Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0