in manual, scrie ca declaratia lui mprotect este: int mprotect(const void *addr, size_t len, int prot);<br>dar am gasit ca in sys/mman.h declaratia lui mprotect e: extern int mprotect (void *__addr, size_t __len, int __prot) __THROW;
<br>diferenta ar fi void* in loc de const void*. vreun motiv pentru aceasta neconcordanta, sau e un bug in headere?<br clear="all"><br>-- <br>Alexandru Mošoi<br><a href="http://alexandru.mosoi.googlepages.com">http://alexandru.mosoi.googlepages.com
</a><br><br>Please avoid sending me Word or PowerPoint attachments.<br>See <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a>