Hello Rasmus, On Mon, Jul 9, 2012 at 4:05 PM, Rasmus Villemoes <Rasmus.Villemoes@xxxxxxxxx> wrote: > Both my system's man-pages (3.22) and the latest online (3.41) shows > > int mprotect(const void *addr, size_t len, int prot); > > as the prototype for mprotect(2). However, POSIX [1] and the actual sys/mman.h (on all the systems I checked) do not have the const qualifier on the first argument. > > [1] http://pubs.opengroup.org/onlinepubs/009604499/functions/mprotect.html Thanks. That error has been there for *many* years. Fixed now, Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html