Getting Process arguments

Hi, can anyone tell me how can I get (from another program) the arguments of the running procesess ?. In other words, I want my own “sin ar”. Thks!! (it isn’t in ps_info structure)

I don’t know how it is done, but here is my guess. sin gets the data segment of the program, and knows where to find the argv list.
This would be easy to check. Create a program that changes it’s arg list after it starts. If “sin ver” shows the new version, then I’m right.

Are you okey with “pidin ar” ? :slight_smile:

pidin source is on cvs.qnx.com, so …