This is the mail archive of the newlib@sourceware.org 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] |
Hi,
I have implemented strsignal.c for RTEMS but wondered if it was worth trying to make the implementation match the ifdef's in sys/signal.h and support other targets?
I have attached the current implementation. I see two approaches to making it support all the targets:
+ ifdefs in the table to match the numbers in sys/signal.h. + a long series of code something like this: #ifdef SIGXXX if ( signal == SIGXXX ) return "string for SIGXXX"; #endif
Any thoughts or comments?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |