Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: No more signals Message-ID: <21812@sun.uucp> Date: Tue, 23-Jun-87 04:31:02 EDT Article-I.D.: sun.21812 Posted: Tue Jun 23 04:31:02 1987 Date-Received: Thu, 25-Jun-87 01:12:44 EDT References: <48300005@hcx1> <1207@ius2.cs.cmu.edu> <532@applix.UUCP> Sender: news@sun.uucp Lines: 12 > Now, does anyone know how the bits are laid out? I would appreciate it if > someone would show me setbit, clearbit, and testbit algorithms that are > not machine- or width-specific. Under 4.3BSD, and systems that have correctly picked up the 4.3 changes, there are macros to set, clear, and test bits, so you don't have to know how the bits are laid out. I presume Ultrix picked them up. The manual page should mention FD_SET, FD_CLR, FD_ISSET, and FD_ZERO; those macros are in . Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com