This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Moving everything from signal.h to sys/signal.h


On Thu, Oct 07, 2004 at 04:21:07PM -0400, Jeff Johnston wrote:
><sys/signal.h> is not defined by POSIX, ANSI, Single UNIX, or C99 so we're 
>largely in undefined territory here.  As previously noted, newlib's usage 
>of the sys directory doesn't necessarily match up with other C libraries 
>out there.  It seems to me the ultimate goal you want to achieve is to 
>allow existing code written against glibc that takes advantage of the fact 
>that <signal.h> and <sys/signal.h> are interchangeable.  An easy solution 
>would be to add a check in the default <sys/signal.h> that if _SIGNAL_H_ 
>wasn't already defined, to include <signal.h>.  Does that seem reasonable 
>to you?

Yes, that seems fine.  I do like trying to be as close to glibc as possible,
too.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]