Quantcast
Channel: Getting the full path of a running PID with C/C++ without using the system function (Linux) - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Getting the full path of a running PID with C/C++ without using the system function (Linux)

$
0
0

So I want to be able to get the full path of a running process (which I have the process ID for) without using any commands on the command line. Anyone has any ideas on how to do this?

I do have the PID, is there any function that by passing the PID can return the full path of that process as a char *?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images