how to get a list of child processes?
how do i obtain a list of child processes, which is very actual?
the problem i have: i need some statistics of my childs
this statistics are shared through shared memory
the problem: if a child dies, i don't know how "actual" my statistic is
i thought about using signals
but which signals should be caught by a child to know that it will die?
is segfault the only one?
or is it possible to receive a signal from a child by the parent so the parent knows child with pid pid dies?