Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
sync(2)
Edit
PageHistory
Diff
Info
LikePages
SYNC !!!SYNC NAME SYNOPSIS DESCRIPTION RETURN VALUE CONFORMING TO BUGS SEE ALSO ---- !!NAME sync - commit buffer cache to disk. !!SYNOPSIS __#include __ __int sync(void);__ !!DESCRIPTION __sync__ first commits inodes to buffers, and then buffers to disk. !!RETURN VALUE __sync__ always returns 0. !!CONFORMING TO SVr4, SVID, X/OPEN, BSD 4.3 !!BUGS According to the standard specification (e.g., SVID), __sync()__ schedules the writes, but may return before the actual writing is done. However, since version 1.3.20 Linux does actually wait. (This still does not guarantee data integrity: modern disks have large caches.) !!SEE ALSO bdflush(2), fsync(2), fdatasync(2), update(8), sync(8) ----
10 pages link to
sync(2)
:
Man2s
fsck.minix(8)
fclose(3)
fflush(3)
syscalls(2)
update(8)
fsync(2)
close(2)
bdflush(2)
reboot(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.