Changes by Thorsten Lockert and myself (though my role was only minor)

to document msync's error returns.
This commit is contained in:
cgd 1994-06-21 04:49:04 +00:00
parent 450db3f901
commit 00c343f97a

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)msync.2 8.1 (Berkeley) 6/9/93
.\" $Id: msync.2,v 1.5 1994/06/21 04:24:53 cgd Exp $
.\" $Id: msync.2,v 1.6 1994/06/21 04:49:04 cgd Exp $
.\"
.Dd June 9, 1993
.Dt MSYNC 2
@ -63,6 +63,23 @@ will also take place at this time.
Filesystem operations on a file that is mapped for shared modifications
are unpredictable except after an
.Fn msync .
.Sh ERRORS
The following errors may be reported:
.Bl -tag -width Er
.It Bq Er EINVAL
The
.Fa addr
parameter was not page aligned.
.It Bq Er EINVAL
The
.Fa addr
parameter did not specify an address part of a mapped region.
.It Bq Er EINVAL
The
.Fa len
parameter was negative.
.It Bq Er EIO
An I/O error occured while writing to the file system.
.Sh SEE ALSO
.Xr madvise 2 ,
.Xr munmap 2 ,