Standard for union initialization?

Henry Spencer henry at utzoo.UUCP
Wed Jan 16 04:32:04 AEST 1985


> Either way, this is less clear than an initializer of the form
> 	element = value
> e.g.
> union {
> 	<type1> foo;
> 	<type2> bar;
> 	<type3> mumble;
> }baz = mumble = <initializer>;

How do you use this to initialize a union inside a structure?
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list