Subject: Re: lib/2718: [dM] missing some prototypes
To: None <,>
From: Peter Seebach <>
List: netbsd-bugs
Date: 08/29/1996 19:35:32
The problem is that both POSIX and ANSI/ISO (for C) claim that
signal handlers take only one argument, an int, specifically
the signal type.

Perhaps we should have two types of signal handlers, and a flag indicating
which kind is in place, so we can offer an extension, called by whatever
means, and provide proper prototypes for signal.  (Which we are technically
required to do, I think, because an implementation is required to diagnose
an attempt to pass an incorrect argument to signal.)