portable signal handling
Henry Spencer
henry at utzoo.uucp
Sat Apr 9 04:42:54 AEST 1988
> ... If the only portable
> thing that receipt of a signal can provoke is the setting of a flag, why
> doesn't ANSI specify signal catching routines where the user can specify
> SIG_DFL, SIG_IGN, or the address of a flag of type sig_atomic_t?
Somehow this doesn't seem worth a new invention. C has no shortage of
tools that one has to use wisely if one wants the programs to be portable
(or, for that matter, to work); signal() is just one more.
--
"Noalias must go. This is | Henry Spencer @ U of Toronto Zoology
non-negotiable." --DMR | {allegra,ihnp4,decvax,utai}!utzoo!henry
More information about the Comp.lang.c
mailing list