summaryrefslogtreecommitdiff
path: root/lib/libc/sys/msync.2
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-03-17 23:55:18 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-03-17 23:55:18 +0000
commit1d73bec4c1de40b38225913b26eca78e600a482f (patch)
treef2d142d4c58b7896be2d87a4809763c739fcecb3 /lib/libc/sys/msync.2
parenta53373fabe44de4416d9530368be980f4b7720a7 (diff)
downloadsrc-test2-1d73bec4c1de40b38225913b26eca78e600a482f.tar.gz
src-test2-1d73bec4c1de40b38225913b26eca78e600a482f.zip
Notes
Diffstat (limited to 'lib/libc/sys/msync.2')
-rw-r--r--lib/libc/sys/msync.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index cb1592575b5d..42d8005418d1 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -28,7 +28,7 @@
.\" @(#)msync.2 8.2 (Berkeley) 6/21/94
.\" $FreeBSD$
.\"
-.Dd June 21, 1994
+.Dd March 18, 2012
.Dt MSYNC 2
.Os
.Sh NAME
@@ -98,6 +98,9 @@ The
argument
was both MS_ASYNC and MS_INVALIDATE.
Only one of these flags is allowed.
+.It Bq Er EIO
+ An error occurred while writing at least one of the pages in
+the specified region.
.El
.Sh SEE ALSO
.Xr madvise 2 ,
@@ -113,7 +116,7 @@ system call first appeared in
.Sh BUGS
The
.Fn msync
-system call is obsolete since
+system call is usually not needed since
.Bx
implements a coherent file system buffer cache.
However, it may be used to associate dirty VM pages with file system