how to exit from a signal routine

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Jul 7 23:33:42 AEST 1989


In article <7997 at cbnews.ATT.COM> mark at cbnews.ATT.COM (Mark Horton) writes:
>Is this something that should be fixed in the ANSI C standard?

No -- The Standard doesn't create the problem, it merely documents it.

There is no prohibition against C implementations doing a better job
than the minimum guaranteed by the C Standard.  In fact the C Standard
guarantees very little about signal behavior, because of the wide
variety of signal() implementations in existence.  Remember that the
C Standard is not UNIX specific, but rather applies to all operating
systems.

IEEE Std 1003.1 (POSIX) provides specifications for a much more
reliable signal mechanism.  Presumably UNIX-like implementations will
provide the extended POSIX signal support rather than merely a minimal
ANSI C facility for signals.



More information about the Comp.std.c mailing list