Suppose process 60604 is running and is creating multiple children, willy, nilly. You can terminate them all by:
kill(9, -60604);
Note you can also do this at the prompt with the kill program, which just calls the kill function.
$ kill -9 -60604