Subject: lib/20803: Error in description of MAP_ANON in man mmap
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/19/2003 10:39:36
>Number:         20803
>Category:       lib
>Synopsis:       Error in description of MAP_ANON in man mmap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 19 01:40:00 PST 2003
>Originator:     Erik Anggard
>Release:        NetBSD 1.6D

System: NetBSD 1.6D NetBSD 1.6D (KIWI-$Revision: 1.138 $) #2: Thu Nov 28 11:01:15 CET 2002 macppc
Architecture: powerpc
Machine: macppc
	The man page for mmap indicates that the file descriptor when 
	using MAP_ANON may have some other value than -1. This is not
	man mmap
Diff for rev 1.27 of src/lib/libc/sys/mmap.2:
--- mmap.2.orig Wed Mar 19 10:27:46 2003
+++ mmap.2      Wed Mar 19 10:30:25 2003
@@ -127,9 +127,7 @@
 Map anonymous memory not associated with any specific file.
 The file descriptor used for creating
-regions is used only for
-naming, and may be specified as \-1 if no name is associated with the
+must be \-1.
 Mapped from a regular file or character-special device memory.