Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/26/83; site ihuxf.UUCP Path: utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!hocda!spanky!burl!sb1!ll1!otuxa!we13!ihnp4!ihuxf!parnass From: parnass@ihuxf.UUCP Newsgroups: net.lang.c Subject: Re: bit fields in C Message-ID: <631@ihuxf.UUCP> Date: Fri, 12-Aug-83 10:06:03 EDT Article-I.D.: ihuxf.631 Posted: Fri Aug 12 10:06:03 1983 Date-Received: Sat, 13-Aug-83 05:11:26 EDT Organization: BTL Naperville, Il. Lines: 18 There have been some recent net submissions lamenting compiler objections to the declaration of long bit fields. According to "The C Programming Language" (page 137) by Brian W. Kernighan and Dennis M. Ritchie: "A field is a set of adjacent bits within a single int.... Fields behave like small, unsigned integers, and may participate in arithmetic expressions just like other integers." Robert S. Parnass Bell Laboratories Naperville, IL ihnp4!ihuxf!parnass