Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to get absolute path form as file: (1 Item)
   
How to get absolute path form as file  
I develop a program to get memory maps. I read process infor from /proc/pid/as (QNX) <file the same /proc/pid/maps file 
in Linux>.
In this file, i cant get address, offset, inode, and path. But the path is not absolute path.
ex: 
Linux:
00101000-00126000 r-xp ...   /lib/libm-2.5.so
00126000-00127000 r--p ..   /lib/libm-2.5.so
00127000-00128000 rw-p ...   /lib/libm-2.5.so
00c91000-00dd0000 r-xp ...   /lib/libc-2.5.so
00dd0000-00dd2000 r--p ... /lib/libc-2.5.so
00dd2000-00dd3000 rw-p ...  /lib/libc-2.5.so


But QNX
00101000-00126000 r-xp ...  /libm-2.5.so
00126000-00127000 r--p ..   /libm-2.5.so
00127000-00128000 rw-p ...  /libm-2.5.so
00c91000-00dd0000 r-xp ...  /libc-2.5.so
00dd0000-00dd2000 r--p ... /libc-2.5.so
00dd2000-00dd3000 rw-p ...  /libc-2.5.so

How can i get full path in QNX the same Linux.