Once I have read the /proc psinfo file for a given process id, can anyone tell me the best way to get the name of the command from argv[0]? The structure provides the argument list (pr_psargs) and the address of the initial argument vector (pr_argv). How could I read just argv[0] from either...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.