[net.unix-wizards] 4.2BSD signal bugs

gwyn%brl-vld@sri-unix.UUCP (12/20/83)

From:      Doug Gwyn (VLD/VMB) <gwyn@brl-vld>

The manual says that signal # i is represented by the i-th bit in the
signal mask.  This is true only if you consider the low-order bit to
be the first bit.  In C, signal # i corresponds to (1L << (i-1)).

The lint library /usr/lib/lint/llib-lc has sigvec(2) all wrong.

See accompanying article for a replacement C library signal(2) routine.