diff options
Diffstat (limited to 'src/lib/libast/features/siglist')
-rw-r--r-- | src/lib/libast/features/siglist | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/libast/features/siglist b/src/lib/libast/features/siglist new file mode 100644 index 0000000..37d1bf0 --- /dev/null +++ b/src/lib/libast/features/siglist @@ -0,0 +1,14 @@ +lib strsignal string.h signal.h + +tst - run{ + for sig in `/bin/kill -l 2>/dev/null` + do case $sig in + *[!A-Za-z0-9_]*|*MIN|*MAX) + ;; + *) echo "#if defined(SIG$sig) && !defined(HAD_SIG$sig)" + echo "0,\"$sig\",SIG$sig," + echo "#endif" + ;; + esac + done +}end |