diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2010-04-14 15:23:16 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2010-04-14 15:23:16 +0000 |
| commit | af4b8626fc0b98c9147e04fa3f430dfb647aa49b (patch) | |
| tree | 38a8316f710340c71fb83b14028755a287ebb077 /lib/libc | |
| parent | b0e51be80c31ca714f8340caf5a8311985dcd306 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/mmap.2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 196d6aef77c2..da8473f6405d 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -105,7 +105,7 @@ The file descriptor used for creating must be \-1. The .Fa offset -argument is ignored. +argument must be 0. .\".It Dv MAP_FILE .\"Mapped from a regular file or character-special device memory. .It Dv MAP_FIXED @@ -312,6 +312,11 @@ was negative. was specified and the .Fa fd argument was not -1. +.It Bq Er EINVAL +.Dv MAP_ANON +was specified and the +.Fa offset +argument was not 0. .It Bq Er ENODEV .Dv MAP_ANON has not been specified and |
