updated losing sunos signals.scm
This commit is contained in:
parent
78e07c9296
commit
16ec4521b5
|
@ -1,7 +1,5 @@
|
||||||
;;; Signal constant definitions for Sun4
|
;;; Signal constant definitions for Sun4
|
||||||
;;; Copyright (c) 1994 by Olin Shivers.
|
;;; Copyright (c) 1994, 1996 by Olin Shivers and Brian D. Carlstrom
|
||||||
|
|
||||||
;;POSIX only defined here, couldn't find signal.h for Sun4 -dalbertz
|
|
||||||
|
|
||||||
(define-enum-constants signal
|
(define-enum-constants signal
|
||||||
;; POSIX
|
;; POSIX
|
||||||
|
@ -9,14 +7,29 @@
|
||||||
(int 2) ; interrupt
|
(int 2) ; interrupt
|
||||||
(quit 3) ; quit
|
(quit 3) ; quit
|
||||||
(ill 4) ; illegal instruction (not reset when caught)
|
(ill 4) ; illegal instruction (not reset when caught)
|
||||||
|
;; SunOS
|
||||||
|
(trap 5) ; trace trap (not reset when caught) */
|
||||||
|
;; POSIX
|
||||||
(iot 6) ; IOT instruction
|
(iot 6) ; IOT instruction
|
||||||
(abrt 6) ; used by abort, replace SIGIOT in the future
|
(abrt 6) ; used by abort, replace SIGIOT in the future
|
||||||
|
;; SunOS
|
||||||
|
(emt 7) ; EMT instruction
|
||||||
|
;; POSIX
|
||||||
(fpe 8) ; floating point exception
|
(fpe 8) ; floating point exception
|
||||||
(kill 9) ; kill (cannot be caught or ignored)
|
(kill 9) ; kill (cannot be caught or ignored)
|
||||||
|
;; SunOS
|
||||||
|
(bus 10) ; bus error
|
||||||
|
;; POSIX
|
||||||
(segv 11) ; segmentation violation
|
(segv 11) ; segmentation violation
|
||||||
|
;; SunOS
|
||||||
|
(sys 12) ; bad argument to system call
|
||||||
|
;; POSIX
|
||||||
(pipe 13) ; write on a pipe with no one to read it
|
(pipe 13) ; write on a pipe with no one to read it
|
||||||
(alrm 14) ; alarm clock
|
(alrm 14) ; alarm clock
|
||||||
(term 15) ; software termination signal from kill
|
(term 15) ; software termination signal from kill
|
||||||
|
;; SunOS
|
||||||
|
(urg 16) ; urgent condition on IO channel
|
||||||
|
;; POSIX
|
||||||
(stop 17) ; sendable stop signal not from tty
|
(stop 17) ; sendable stop signal not from tty
|
||||||
(tstp 18) ; stop signal from tty
|
(tstp 18) ; stop signal from tty
|
||||||
(cont 19) ; continue a stopped process
|
(cont 19) ; continue a stopped process
|
||||||
|
@ -24,7 +37,21 @@
|
||||||
(cld 20) ; System V name for SIGCHLD
|
(cld 20) ; System V name for SIGCHLD
|
||||||
(ttin 21) ; to readers pgrp upon background tty read
|
(ttin 21) ; to readers pgrp upon background tty read
|
||||||
(ttou 22) ; like TTIN for output if (tp->t_local<OSTOP)
|
(ttou 22) ; like TTIN for output if (tp->t_local<OSTOP)
|
||||||
|
;; SunOS
|
||||||
|
(io 23) ; input/output possible signal
|
||||||
|
(poll 23) ; System V name for SIGIO
|
||||||
|
(xcpu 24) ; exceeded CPU time limit
|
||||||
|
(xfsz 25) ; exceeded file size limit
|
||||||
|
(vtalrm 26) ; virtual time alarm
|
||||||
|
(prof 27) ; profiling time alarm
|
||||||
|
(winch 28) ; window changed
|
||||||
|
(lost 29) ; resource lost (eg, record-lock lost)
|
||||||
|
;; POSIX
|
||||||
;; User defined
|
;; User defined
|
||||||
(usr1 30) ; user defined signal 1
|
(usr1 30) ; user defined signal 1
|
||||||
(usr2 31) ; user defined signal 2
|
(usr2 31) ; user defined signal 2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(define signals-ignored-by-default
|
||||||
|
(list signal/chld signal/cont ; These are Posix.
|
||||||
|
signal/urg signal/io signal/winch) ; These are SunOS.
|
||||||
|
|
Loading…
Reference in New Issue