Subject: Re: standards/33527: mlock/mlockall documentation and code difference
To: None <gnats-bugs@NetBSD.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 05/22/2006 19:56:10
simonb@NetBSD.org said:
> SUSv3 makes no mention of alignment restrictions on the
>         arguments

It says:
"The implementation may require that addr be a multiple of {PAGESIZE}."

There should be at least a note saying that portable code should
use aligned addresses.

best regards
Matthias