#include <linux/signal.h> #define SIGUNKNOWN … #define MAXMAPPED_SIG … #define MAXMAPPED_SIGNAME … #define SIGRT_BASE … /* provide a mapping of arch signal to internal signal # for mediation * those that are always an alias SIGCLD for SIGCLHD and SIGPOLL for SIGIO * map to the same entry those that may/or may not get a separate entry */ static const int sig_map[MAXMAPPED_SIG] = …; /* this table is ordered post sig_map[sig] mapping */ static const char *const sig_names[MAXMAPPED_SIGNAME] = …;