return 1;
}
-/**
- * Paraslash's zombie killer.
- *
- * It just calls \p para_reap_child() until there are no more children left to
- * reap.
- */
-void para_reap_children(void)
-{
- pid_t pid;
-
- while (para_reap_child(&pid) > 0)
- ; /* nothing */
-}
-
/**
* Install the given handler for the given signal.
*
int para_signal_init(void);
void para_sigaction(int sig, void (*handler)(int));
void para_install_sighandler(int);
-void para_reap_children(void);
int para_reap_child(pid_t *pid);
int para_next_signal(void);
void para_signal_shutdown(void);