I'm creating child processes with fork()
in C/C++.
When the parent process ends (or is killed for some reason) I want all child processes to be killed as well.
Is that done automatically by the system? Or I have to do it myself?
Thanks.
Pre-existing similar questions: