How do I send the kill signal to a program from within another program?
I understand I can do this
Code:
kill (pid, SIGINT);
]
But how do I get the pid for the program I want to kill from within the program I want to issue the signal from?
Thanks for any information.