If a process forks and execs several child processes, is there any way for the parent to detect when the child processes have exited or died without having to wait(2) on them. I wrote a program where the parent caught SIGCLD but I don't know which child it is which died.