1 /* push.c - push a fork into the background */
3 static char ident[] = "@(#)$Id: push.c,v 1.3 1992/12/15 00:20:22 jromine Exp $";
14 for (i = 0; i < 5; i++) {
21 (void) signal (SIGHUP, SIG_IGN);
22 (void) signal (SIGINT, SIG_IGN);
23 (void) signal (SIGQUIT, SIG_IGN);
24 (void) signal (SIGTERM, SIG_IGN);
26 (void) signal (SIGTSTP, SIG_IGN);
27 (void) signal (SIGTTIN, SIG_IGN);
28 (void) signal (SIGTTOU, SIG_IGN);
30 (void) freopen ("/dev/null", "r", stdin);
31 (void) freopen ("/dev/null", "w", stdout);
40 advise (NULLCP, "unable to fork, so can't push...");