Using Signals

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.:confused:

SIGCHLD is delivered to the parent when the child exits. Use signal(2) to trap this signal and react to it.

A fork() Primer
Signals

Please go thorugh these links. It may be helpful.