Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: portable signal handling
Message-ID: <1988Apr8.184254.3287@utzoo.uucp>
Organization: U of Toronto Zoology
References: <12578@brl-adm.ARPA> <1988Mar25.172355.348@utzoo.uucp>
Date: Fri, 8 Apr 88 18:42:54 GMT

> ... 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
