Swapnil
Swapnil

Reputation: 1568

Not found /proc/self/maps for QNX plaform

We have a code written for Linux, where we are parsing the maps file using std::ifstream ifs("/proc/self/maps");. I am porting that code for QNX platform where I can see the /proc/self/ folder is available but the maps file is not available.

Upvotes: 1

Views: 570

Answers (2)

ddbug
ddbug

Reputation: 1549

This file in Linux contains map of memory of the process: code, data, heap, loaded shared libraries etc. If you can explain what you need to do with this, someone could suggest how to achieve same on QNX. Consider that QNX belongs to the BSD family, its low level stuff is not like in Linux.

Upvotes: 0

Related Questions