SYNC
Section: Linux Programmer's Manual (2)
Updated: 15 April 1995
Index
Return to Main Contents
NAME
sync - commit buffer cache to disk.
SYNOPSIS
#include <unistd.h>
int sync(void);
DESCRIPTION
sync
first commits inodes to buffers, and then buffers to disk.
RETURN VALUE
sync
always returns 0.
CONFORMING TO
SVID, AT&T, X/OPEN, BSD 4.3
BUGS
sync() only schedules the writes, so it may return before the actual
writing is done.
SEE ALSO
bdflush(2), fsync(2), update(8), sync(8)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- CONFORMING TO
-
- BUGS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:24:50 GMT, March 22, 2025