mirror of https://github.com/mkerrisk/man-pages
sync.2: Some rewrites to description of sync()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e440702e74
commit
bedbb5335d
11
man2/sync.2
11
man2/sync.2
|
@ -53,13 +53,18 @@ _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
.ad
|
.ad
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sync ()
|
.BR sync ()
|
||||||
first commits inodes to buffers, and then buffers to disk.
|
causes all buffered modifications to file metadata and data to be
|
||||||
|
written to the underlying file systems.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
This function is always successful.
|
.BR sync ()
|
||||||
|
is always successful.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
|
.BR sync ():
|
||||||
SVr4, 4.3BSD, POSIX.1-2001.
|
SVr4, 4.3BSD, POSIX.1-2001.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Since glibc 2.2.2 the Linux prototype is as listed above,
|
Since glibc 2.2.2 the Linux prototype for
|
||||||
|
.BR sync ()
|
||||||
|
is as listed above,
|
||||||
following the various standards.
|
following the various standards.
|
||||||
In libc4, libc5, and glibc up to 2.2.1
|
In libc4, libc5, and glibc up to 2.2.1
|
||||||
it was "int sync(void)", and
|
it was "int sync(void)", and
|
||||||
|
|
Loading…
Reference in New Issue