previous | start | next

SIGCHLD handler

When processes terminate, they should be cleaned up in order to avoid accumulating zombie processes.

A SIGCHLD signal is sent to the shell when a child is terminated or changes state to stopped.

The shell can/should implement a handler for SIGCHLD signals in order to clean up these terminated processes.

This handler



previous | start | next