myconsole$: cat /proc/$pid/cmdline
where $pid is the pid of a program, I would receive the command line of a program. How would I do this in a c/c++ program? What headers should I include? Thanks
It looks like you're new here. If you want to get involved, click one of these buttons!