summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-11-14 07:18:12 +0000
committeralc <alc@FreeBSD.org>2003-11-14 07:18:12 +0000
commit4f9f6de2011e3edef2c064148466107af3c3e39c (patch)
tree81154bf3e7265a442afead87dd3d710837dd3983 /lib/libc
parent58630d7148f6f0dc26029ef3a6eaf3f3cd351b16 (diff)
downloadFreeBSD-src-4f9f6de2011e3edef2c064148466107af3c3e39c.zip
FreeBSD-src-4f9f6de2011e3edef2c064148466107af3c3e39c.tar.gz
- Add documentation for EBUSY.
- Remove EIO. - Add a cross reference to mlock(2).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/msync.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index bb55bbc..a692d74 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -78,6 +78,9 @@ The
system call
will fail if:
.Bl -tag -width Er
+.It Bq Er EBUSY
+Some or all of the pages in the specified region are locked and
+MS_INVALIDATE is specified.
.It Bq Er EINVAL
The
.Fa addr
@@ -94,12 +97,11 @@ The
argument
was both MS_ASYNC and MS_INVALIDATE.
Only one of these flags is allowed.
-.It Bq Er EIO
-An I/O error occurred while writing to the file system.
.El
.Sh SEE ALSO
.Xr madvise 2 ,
.Xr mincore 2 ,
+.Xr mlock 2 ,
.Xr mprotect 2 ,
.Xr munmap 2
.Sh HISTORY
OpenPOWER on IntegriCloud