Signal() and literate programming

Karl Heuer karl at haddock.ima.isc.com
Sat Jan 20 10:26:09 AEST 1990


In article <1990Jan19.193917.23671 at agate.berkeley.edu> bks at 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 at haddock.isc.com or ima!haddock!karl), The Walking Lint



More information about the Comp.lang.c mailing list