The util_does_process_exist function verifies that a given process ID is that of an executing process.
#include <libproxy/util.h> int util_does_process_exist (int pid)
nonzero if the pid represents an executing process
0 if the pid does not represent an executing process
int pid is the process ID to be tested.