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
fsync(3), the Base Definitions volume of IEEE Std 1003.1-2001 (“POSIX.1”), <unistd.h>
CHANGE HISTORY
First released in Issue 4, Version 2.
Issue 5
Moved from X/OPEN UNIX extension to BASE.
End of informative text. footer end
January 1, 2004 posix.fail