/* keep signals in their original state and make sure that some signals
to parent process also gets sent to the child..
*/
old_sighup = signal(SIGHUP, kill_child_handler);
old_sigterm = signal(SIGTERM, kill_child_handler);
/* keep signals in their original state and make sure that some signals
to parent process also gets sent to the child..
*/
old_sighup = signal(SIGHUP, kill_child_handler);
old_sigterm = signal(SIGTERM, kill_child_handler);