3 # hack expression to generate arch/signalent.h from <asm/signal.h>
4 # It reads from stdin and writes to stdout
11 if (($1 ~ /^#define$/) && (!SIGNAL[$3]) && ($2 ~ /^SIG[A-Z]/) \
12 && ($2 !~ /^SIGRTMIN$/) && ($2 !~ /^SIGRTMAX$/) && ($2 !~ /^SIGSTKSZ$/) \
13 && ($3>=0) && ($3<=1000)) {
22 for(i=0; i<=max; i++) {
26 pad = 16 - length(SIGNAL[i]);
30 printf("\t\"%s\",%*s/* %d */\n", SIGNAL[i], pad, "", i);