porting some functions from linux

I know that this question is really simple. but I’m not able to find my anwer on the web…

there is in qnx some function to replace the linux functions:

put_user

copy_from_user
copy_to_user

if they not exist, how can I replace them?

There are no equivalents in QNX. You are always in user space. No special copy function required…

Rennie

ok…so I can just replace

put_user(a, b);

with

b = a

?

Thanks

That’s OK for single values , or just use memcpy for blocks of data.