How can a program on Linux discover the process id of itself? Is there something in /proc/self that will do the trick?
Wonderfully laconic.
Tim Post
2010-07-06 11:59:17
How can a program on Linux discover the process id of itself? Is there something in /proc/self that will do the trick?