SYNC(3) Library Functions Manual SYNC(3)
NAME
sync — schedule
file system updates
SYNOPSIS
void sync(void);
DESCRIPTION
The sync () function shall cause all
information in memory that updates file systems to be scheduled for writing
out to all file systems.
The writing, although scheduled, is not necessarily complete upon
return from sync ().
RETURN VALUE
The sync () function shall not return a
value.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
XBD <unistd.h>
CHANGE HISTORY
First released in Issue 4, Version 2.
Issue 5
Moved from X/OPEN UNIX extension to BASE.
June 14, 2024 posix.fail