Say I want to ignore a child termination signal so I issue:
signal(SIG_CLD, SIG_IGN)
fine, so I am ignoring this signal.
Now lets say I change my mind and I want to wait for this signal
to occur so that I know my child has died.
--> HOW DO I RE-ESTABLISH A DESIRE TO PAY ATTENTION TO SIG_CLD??
signal takes only three possible alternatives for the second
argument: SIG_DFL, SIG_IGN, or the address of some customized function
My only choice is signal(SIG_CLD, SIG_DFL) but according to the manual
the default is to SIG_IGN and that is what I'm trying to reverse.
Ideas? Please send e-mail, I'll post any responses.
Thanks,
============================================================================
|Rob D. Oliver | Internet: bcst...@bnr.ca| The opinions expressed |
|Bell-Northern Research | ESN: 393-7077 | above are those of the |
|P.O. Box 3511, Station C| Tel: (613) 763-7077 | author and not those of|
|Ottawa, Ontario | | Northern Telecom or |
|K1Y 4H7 | | Bell-Northern Research.|
============================================================================