Changes by Thorsten Lockert and myself (though my role was only minor)
to document msync's error returns.
This commit is contained in:
parent
450db3f901
commit
00c343f97a
@ -30,7 +30,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)msync.2 8.1 (Berkeley) 6/9/93
|
.\" 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
|
.Dd June 9, 1993
|
||||||
.Dt MSYNC 2
|
.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
|
Filesystem operations on a file that is mapped for shared modifications
|
||||||
are unpredictable except after an
|
are unpredictable except after an
|
||||||
.Fn msync .
|
.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
|
.Sh SEE ALSO
|
||||||
.Xr madvise 2 ,
|
.Xr madvise 2 ,
|
||||||
.Xr munmap 2 ,
|
.Xr munmap 2 ,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user