How can use signals in a C program If i want a child program to signal it's parent program that it(child) program has completed the task that it was assigned.
SIGCHLD is delivered to the parent when the child exits. Use signal(2) to trap this signal and react to it.