Is there a C system call which can be called in a C program and
used to check whether a process is running? I want to be able
to query the processes running on the system by the name of the
process. I want something similar to "ps".
Thanks in advance.