Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Signal() and literate programming Message-ID: <15705@haddock.ima.isc.com> Date: 19 Jan 90 23:26:09 GMT References: <1990Jan19.193917.23671@agate.berkeley.edu> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 13 In article <1990Jan19.193917.23671@agate.berkeley.edu> bks@alfa.berkeley.edu (Brad Sherman) writes: >Has anyone come up with what he/she thinks is a good way to code signal >handling. Signal names and numbers are not standardized. Sure they are. X3J11 standardized 6 of them, and 1003.1 another 13. >Not all types of signals exist on all systems. My recommendation is to use POSIX as a base, and on non-Standard systems, attempt to emulate the POSIX behavior (by returning an error code for inappropriate signal values, for example). Karl W. Z. Heuer (karl@haddock.isc.com or ima!haddock!karl), The Walking Lint