A pointer to an (uninitialized) object of type
.BR sig .
This will be used by the system to retain information about this signal
claim. You use the address of this object to remove the handler again
when you've finished.
.TP
A pointer to an (uninitialized) object of type
.BR sig .
This will be used by the system to retain information about this signal
claim. You use the address of this object to remove the handler again
when you've finished.
.TP
A function to call when the signal is detected. The function is passed
the signal number and the pointer
.I p
passed to
.BR sig_add .
.TP
A function to call when the signal is detected. The function is passed
the signal number and the pointer
.I p
passed to
.BR sig_add .
.TP
.B SA_NOCLDSTOP
flag is also set, so that stopped child processes aren't reported by a
signal. This is normally right, but ought to be configurable.
.B SA_NOCLDSTOP
flag is also set, so that stopped child processes aren't reported by a
signal. This is normally right, but ought to be configurable.