Initialized bitfileds - help me read

Henry Spencer henry at utzoo.uucp
Sat Mar 18 03:52:08 AEST 1989


In article <12417 at watdragon.waterloo.edu> afscian at 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 at zoo.toronto.edu



More information about the Comp.std.c mailing list