mmap and PROT_WRITE

2002-02-14 Thread Jason Mawdsley
); if ( p ) { *((int*)(p)) = 5; } } Why can't I write to memory in the first case? Is there anyway I can implement writable but no readable memory? I read some where that there is no true write only memory do to the limitations of x86. TIA Jason Mawdsley ~ [

Re: mmap/madvise

2001-11-09 Thread Jason Mawdsley
ogramming for Windows > Programmers" book. 8-(. Sounds like their could be a good market for one ;-) Jason Jason Mawdsley ~ [EMAIL PROTECTED] Software Designer ~ m_ a c a d a m i a nt e c h n o l o g i e s "Software developers for the world's leading technology compani

Re: mmap/madvise -- Thanks!

2001-11-09 Thread Jason Mawdsley
Wow! The responses to my question have been amazing! I never expected to get the wealth of information that you people have given me. Thank you all! Jason. Jason Mawdsley ~ [EMAIL PROTECTED] Software Designer ~ m_ a c a d a m i a nt e c h n o l o g i e s "Software developers fo