🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5765

Re: Initialized bitfileds - help me read

#5765
From: Henry Spencer
Date: Fri, 17 Mar 1989 17:52
9 lines
901 bytes
In article <12417@watdragon.waterloo.edu> afscian@violet.waterloo.edu (Anthony Scian) writes:
>What does the standard say about this? Is there a correct ANSI standard
>method? I don't recall seeing anything in the standard detailing this.

Precisely.  Initialization of bitfields is not special in any way in
ANSI C -- they are ordinary structure members for this purpose.
-- 
Welcome to Mars!  Your         |     Henry Spencer at U of Toronto Zoology
passport and visa, comrade?    | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1989Mar17.175208.1064@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <13363@steinmetz.ge.com> <1989Mar15.165019.21562@utzoo.uucp> <12417@watdragon.waterloo.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Initialized bitfileds - help me read
Message-ID: <1989Mar17.175208.1064@utzoo.uucp>
Organization: U of Toronto Zoology
References: <13363@steinmetz.ge.com> <1989Mar15.165019.21562@utzoo.uucp> <12417@watdragon.waterloo.edu>
Date: Fri, 17 Mar 89 17:52:08 GMT