Archive for December 6, 2007

Supervising forking processes

quest /tmp# cat test.c
#include <sys/types.h>

#include <stdlib.h>
#include <unistd.h>

int
main (int argc,
char *argv[])
{
pid_t pid;

pid = fork ();
if (pid > 0)
[...]