killing a process -- kill(id, SIGKILL);

Ivan Novick ivandn@abac.com
Fri Sep 21 09:51:00 GMT 2001


Hi,

I am killing a child process with

kill(id, SIGKILL);

the process is still displayed when issuing the command ps -a except it says
<defunct>

Is this the best way to kill a process?

Thanks,
Ivan



More information about the Gcc-help mailing list