I get the address point of by using mmap(),now I want to put its contain to a temptory value,but I can’t.why?
for example,
int*a;
int b;
a=mmap();
memcpy(&b,a);
What you want to do is this…
b = *a;
I get the address point of by using mmap(),now I want to put its contain to a temptory value,but I can’t.why?
for example,
int*a;
int b;
a=mmap();
memcpy(&b,a);
What you want to do is this…
b = *a;