Hi, I'm trying to write a program that sends a signal from one process to another in C using the gedit program in linux. The only problem i've been having is that i cannot seem to be able to check for a valid pid so as to display an error message if a valid pid wasn't used. Any help is greatly appreciated.