On 09/13/2012 10:48 AM, Antonio Fortuny wrote:
This way of solving the problem seems to be the best when the goal is
to retrieve the PID of a given program. As the /proc directory is tidy
coupled to the kernel it's probably the fastest
Yep
This is what I gonna implement for the second part of my development.
You additionally might want to take a look at the C source code of
"pidof". Happy open-sourcing :)
-Michael
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus