This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Moving everything from signal.h to sys/signal.h
- From: Ralf Corsepius <ralf_corsepius at rtems dot org>
- To: Newlib List <newlib at sources dot redhat dot com>
- Date: Mon, 04 Oct 2004 05:48:54 +0200
- Subject: Re: Moving everything from signal.h to sys/signal.h
- References: <20041003221201.GA25245@coe.bosbc.com>
On Mon, 2004-10-04 at 00:12, Christopher Faylor wrote:
> Is there any reason why there are a handful of definitions in
> libc/include/signal.h while most of the signal definitions are in
> libc/include/sys/signal.h?
signal.h's behavior is defined by standards (POSIX)
sys/signal.h is an implementation detail used to hide away
arch-dependent details from signal.h
> I think most systems (at least the
> ones I checked) tend to make sys/signal.h == signal.h.
Hmm? All the ones I checked, do not. Neither Linux, Solaris nor Freebsd.
Ralf