mmap.2 (57194) | mmap.2 (57263) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mmap.2 8.4 (Berkeley) 5/11/95 | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mmap.2 8.4 (Berkeley) 5/11/95 |
33.\" $FreeBSD: head/lib/libc/sys/mmap.2 57194 2000-02-14 01:34:15Z chris $ | 33.\" $FreeBSD: head/lib/libc/sys/mmap.2 57263 2000-02-16 21:11:33Z dillon $ |
34.\" 35.Dd May 11, 1995 36.Dt MMAP 2 37.Os BSD 4 38.Sh NAME 39.Nm mmap 40.Nd map files or devices into memory 41.Sh SYNOPSIS --- 206 unchanged lines hidden (view full) --- 248did not reference a regular or character special file. 249.It Bq Er EINVAL 250.Fa Offset 251was not page-aligned. (See BUGS below.) 252.It Bq Er ENOMEM 253.Dv MAP_FIXED 254was specified and the 255.Fa addr | 34.\" 35.Dd May 11, 1995 36.Dt MMAP 2 37.Os BSD 4 38.Sh NAME 39.Nm mmap 40.Nd map files or devices into memory 41.Sh SYNOPSIS --- 206 unchanged lines hidden (view full) --- 248did not reference a regular or character special file. 249.It Bq Er EINVAL 250.Fa Offset 251was not page-aligned. (See BUGS below.) 252.It Bq Er ENOMEM 253.Dv MAP_FIXED 254was specified and the 255.Fa addr |
256parameter wasn't available. | 256parameter wasn't available, or the system has reached the per-process mmap 257limit specified in the vm.max_proc_mmap sysctl. |
257.Dv MAP_ANON 258was specified and insufficient memory was available. 259.Sh "SEE ALSO" 260.Xr madvise 2 , 261.Xr mincore 2 , 262.Xr mlock 2 , 263.Xr mprotect 2 , 264.Xr msync 2 , --- 26 unchanged lines hidden --- | 258.Dv MAP_ANON 259was specified and insufficient memory was available. 260.Sh "SEE ALSO" 261.Xr madvise 2 , 262.Xr mincore 2 , 263.Xr mlock 2 , 264.Xr mprotect 2 , 265.Xr msync 2 , --- 26 unchanged lines hidden --- |