NAME
pid_exists - return 1 if process is running
SYNOPSIS
#include "stock.h"
int pid_exists(int pid) ;
DESCRIPTION
pid_exists returns one if a process with process id pid exists in the process
table, zero otherwise.
LIBRARY
$(STOCKLIBS)
ATTRIBUTES
MT-Safe
SEE ALSO
pidinfo(3)
BUGS AND CAVEATS
This is just checking /proc/pid under Linux, but it's lots more complicated
in Darwin.
AUTHOR
Daniel Quinlan