Sync (Unix)
Encyclopedia : S : SY : SYN : Sync (Unix)
- The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].
As a function in C, the sync() call is typically declared as void sync(void) in
The related system call fsync commits just the buffered data relating to a specified file descriptor.
Unix systems typically run some kind of flush or update daemon, which calls the sync function on a regular basis. Buffers are also flushed when filesystems are unmounted, for example prior to system shutdown.
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
