munmap.2 inconsistency ?

Luigi Rizzo rizzo at icir.org
Fri Feb 6 12:03:58 PST 2004


hi,
browsing through the munmap() page, it says
     Munmap() will fail if:

     [EINVAL]           The addr parameter was not page aligned, the len
			...

now, i have verified that munmap works fine with any address returned
by mmap, even if not aligned, at least on a recent -STABLE.

As i assume that passing munmap() the same address returned by mmap()
is common behaviour, should we rephrase the manpage ?

	cheers
	luigi


More information about the freebsd-hackers mailing list