killing processes thru' C programs

grx0736 at uoft02.utoledo.edu grx0736 at uoft02.utoledo.edu
Thu Apr 25 05:42:40 AEST 1991


greetings,

does anyone know how to kill processes through C programs
if only the name of the running process is known, and not
its pid. The call  to this function could be something like

	kill_process("process_name");

I would not like to do this by using ps, or by executing a 
shell script from within the C program. 

sunil kulkarni



More information about the Comp.unix.questions mailing list