Re: Getting a fully-qualified path from a PID

2004-07-22 Thread Joe Marcus Clarke
On Wed, 2004-07-21 at 11:12, Dan Nelson wrote: In the last episode (Jul 20), Joe Marcus Clarke said: What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs is

Getting a fully-qualified path from a PID

2004-07-21 Thread Joe Marcus Clarke
What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs is deprecated on 5.X, correct? Is there a more appropriate way to do this? Thanks. Joe -- PGP Key :

Re: Getting a fully-qualified path from a PID

2004-07-21 Thread Dan Nelson
In the last episode (Jul 20), Joe Marcus Clarke said: What is the canonical way for a userland application to get the fully-qualified path of an executable from its running PID? I know I can do a readlink(2) on /proc/pid/file, but procfs is deprecated on 5.X, correct? Is there a more