Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 12:03:23 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        hackers@freebsd.org
Subject:   munmap.2 inconsistency ?
Message-ID:  <20040206120323.A68951@xorpc.icir.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206120323.A68951>