Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!mit-eddie!mit-vax!eagle!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn%brl-vld@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: 4.2BSD signal bugs Message-ID: <14792@sri-arpa.UUCP> Date: Tue, 20-Dec-83 05:35:50 EST Article-I.D.: sri-arpa.14792 Posted: Tue Dec 20 05:35:50 1983 Date-Received: Fri, 23-Dec-83 01:35:58 EST Lines: 9 From: Doug Gwyn (VLD/VMB) 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.