clean up import, rcsid
This commit is contained in:
parent
bafe42ae48
commit
450db3f901
@ -1,5 +1,5 @@
|
|||||||
.\" Copyright (c) 1991 Regents of the University of California.
|
.\" Copyright (c) 1991, 1993
|
||||||
.\" All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
.\" modification, are permitted provided that the following conditions
|
.\" modification, are permitted provided that the following conditions
|
||||||
@ -29,24 +29,22 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)msync.2 6.1 (Berkeley) 5/27/91
|
.\" from: @(#)msync.2 8.1 (Berkeley) 6/9/93
|
||||||
.\" $Id: msync.2,v 1.4 1993/12/15 18:08:17 jtc Exp $
|
.\" $Id: msync.2,v 1.5 1994/06/21 04:24:53 cgd Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd May 27, 1991
|
.Dd June 9, 1993
|
||||||
.Dt MSYNC 2
|
.Dt MSYNC 2
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm msync
|
.Nm msync
|
||||||
.Nd synchronize a mapped region
|
.Nd synchronize a mapped region
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <sys/types.h>
|
|
||||||
.Fd #include <sys/mman.h>
|
|
||||||
.Ft int
|
|
||||||
.Fn msync "caddr_t addr" "int len"
|
.Fn msync "caddr_t addr" "int len"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn msync
|
.Fn msync
|
||||||
system call writes any modified pages back to the filesystem and updates
|
system call
|
||||||
|
writes any modified pages back to the filesystem and updates
|
||||||
the file modification time.
|
the file modification time.
|
||||||
If
|
If
|
||||||
.Fa len
|
.Fa len
|
||||||
@ -67,6 +65,10 @@ are unpredictable except after an
|
|||||||
.Fn msync .
|
.Fn msync .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr madvise 2 ,
|
.Xr madvise 2 ,
|
||||||
.Xr mincore 2 ,
|
.Xr munmap 2 ,
|
||||||
.Xr mprotect 2 ,
|
.Xr mprotect 2 ,
|
||||||
.Xr munmap 2
|
.Xr mincore 2
|
||||||
|
.Sh HISTORY
|
||||||
|
The
|
||||||
|
.Fn msync
|
||||||
|
function first appeared in 4.4BSD.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user