Does MMAP work with Redhat 4.2?
The
HyperNews
Linux KHG
Discussion Pages
Does MMAP work with Redhat 4.2?Forum: The Linux Kernel Hackers' GuideKeywords: MMAP memory errorDate: Tue, 21 Apr 1998 10:54:04 GMTFrom: Guy <theguy@ionet.net>Hi,I'm getting an error with MMAP on Redhat 4.2... The same code worked just fine when compiled on a Slakware 1.2.13 system...The code actually compiles just fine, but I get a runtime error which says, "Segmentation Fault (Core Dumped)" when I try to access the memory -- I later found that MMAP was returning a "EINVAL" error...Does the MMAP function work on Redhat 4.2?What are the differences between Redhat 4.2 and Slakware 1.2.13 with respect to the MMAP function?I've verified that my start and length values are appropriate (I even tried setting my start value to zero, but that didn't seem to work). How do I find a PAGESIZE boundary? How do I "allign" this? thanks for your help,
Guy
(theguy@ionet.net)
Messages
Inline:
Outline:
1.
Yes, it works just fine. by Michael K. Johnson
->
It Works! Thanks! by Guy
to: "Does MMAP work with Redhat 4.2?"
C
Wyszukiwarka
Podobne podstrony:
257 259An introduction to difference equation by Elaydi 259Nuestro Circulo 259 Vladimir Alatortsev259 aMazowieckie Studia Humanistyczne r2000 t6 n1 2 s255 259Wtyczka antenowa CB Radio jak przygotować wtyk UC 1 (PL 259)13 (259)więcej podobnych podstron