scsh-0.5/scsh/linux/signals.scm

46 lines
703 B
Scheme
Raw Normal View History

1995-10-13 23:34:21 -04:00
;;; Signal constant definitions for Linux
;;; Copyright (c) 1994 by Olin Shivers.
;;; Copyright (c) 1994 by Brian D. Carlstrom.
(define-enum-constants signal
1995-10-13 23:34:21 -04:00
;; POSIX
(hup 1)
(int 2)
(quit 3)
(ill 4)
(trap 5)
(abrt 6)
(iot 6)
(bus 7)
(fpe 8)
(kill 9)
(usr1 10)
(segv 11)
(usr2 12)
(pipe 13)
(alrm 14)
(term 15)
(stkflt 16)
(chld 17)
(cld 17) ;compat
(cont 18)
(stop 19)
(tstp 20)
(ttin 21)
(ttou 22)
(urg 23)
(xcpu 24)
(xfsz 25)
(vtalrm 26)
(prof 27)
(winch 28)
(io 29)
(poll 29)
1995-10-13 23:34:21 -04:00
(pwr 30)
(unused 31)
)
1996-10-08 18:37:19 -04:00
(define signals-ignored-by-default
(list signal/chld signal/cont signal/winch))
1995-10-13 23:34:21 -04:00