15 int main(int ac, char *av[]) {
18 /* create the child */
21 fprintf(stderr, "fork fail!\n");
25 /* parent, actually does the monitoring */
32 fprintf(stderr, "fork fail!\n");
36 /* fprintf(stderr, "pid = %d\n", pid); */
46 /* shouldn't get here... */