[so] mprotect

Alexandru Mosoi brtzsnr at gmail.com
Sun Jan 13 20:23:26 EET 2008


in manual, scrie ca declaratia lui mprotect este: int mprotect(const void
*addr, size_t len, int prot);
dar am gasit ca in sys/mman.h declaratia lui mprotect e: extern int mprotect
(void *__addr, size_t __len, int __prot) __THROW;
diferenta ar fi void* in loc de const void*. vreun motiv pentru aceasta
neconcordanta, sau e un bug in headere?

-- 
Alexandru Moşoi
http://alexandru.mosoi.googlepages.com

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20080113/f784495b/attachment.html


More information about the so mailing list