S
Spiros Bousbouras
In 7.20.4.4 of n1124 we read:
The _Exit function causes normal
program termination to occur and
control to be returned to the host
environment. No functions registered
by the atexit function or signal handlers
registered by the signal function are called.
Why is there a mention of signal handlers ? I
mean exit() doesn't call signal handlers either
and you wouldn't expect any library function
to call signal handlers unless it is explicitly
mentioned that it does. So why is there a need
to specify in this case that it does *not* call
signal handlers ?
The _Exit function causes normal
program termination to occur and
control to be returned to the host
environment. No functions registered
by the atexit function or signal handlers
registered by the signal function are called.
Why is there a mention of signal handlers ? I
mean exit() doesn't call signal handlers either
and you wouldn't expect any library function
to call signal handlers unless it is explicitly
mentioned that it does. So why is there a need
to specify in this case that it does *not* call
signal handlers ?