int err;
g_pid = pid;
-
+
my_pgid = getpgid(0);
if (my_pgid < 0) {
perror ("error with getpgid()");
// The zygote was unable to move this process into our pgid
// We have to forward signals
- int forward_signals[]
- = {SIGHUP, SIGINT, SIGTERM, SIGWINCH,
+ int forward_signals[]
+ = {SIGHUP, SIGINT, SIGTERM, SIGWINCH,
SIGTSTP, SIGTTIN, SIGTTOU, SIGCONT};
struct sigaction sa;