Skip navigation.
Home
The QNX Community Portal

View topic - why?

why?

Isn't the name clear?

why?

Postby xuyong » Thu Apr 17, 2003 3:50 am

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);
xuyong
Senior Member
 
Posts: 431
Joined: Sun Mar 02, 2003 7:52 am

Postby cdm » Thu Apr 17, 2003 3:32 pm

What you want to do is this...

b = *a;
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 5 guests