mprotect(2)'s first argument is not const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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--
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


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux