16 int main(int ac, char *av[]) {
21 fprintf(stderr, "fork fail!\n");
38 fprintf(stderr, "fork fail!\n");
42 /* fprintf(stderr, "pid = %d\n", pid); */
46 /* reset the file descriptors */
49 open("/dev/null", O_RDONLY);
53 open("/dev/null", O_WRONLY);
57 open("/dev/null", O_WRONLY);
66 /* shouldn't get here... */