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
--=20
PGP Key : http://www.marcuscom.com/pgp.asc
--=-fHBrVFSMzkSdd9YbK1eN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQBA/dlSb2iPiv4Uz4cRAoHlAJ4/E3z6LJnf0fWUR5HzA65nZ06OGACfS5H7
uZKxyebTgXDrF14bp/ObULw=
=lxbT
-----END PGP SIGNATURE-----
--=-fHBrVFSMzkSdd9YbK1eN--