How to get a process working directory in HP-UX system



Hi all,

Our code need get to know the working directory of given process based
specific pid. Could anyone give me a hand to give me informations?

This is a problem I can not get from google search.

Thank you very much

.