jlee> Is there a C system call which can be called in a C program and
jlee> used to check whether a process is running?
jlee> I want to be able to query the processes running on the system
jlee> by the name of the process. I want something similar to "ps".
Use ps (see example in FAQ, which also contains three examples of how
to do it *without* using ps, pointing out the total non-portability of
comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
or <URL: http://www.whitefang.com/unix/>