Uses of \"short\" ?

Mike Banahan mikeb at inset.UUCP
Sat Oct 19 22:58:52 AEST 1985


Uh? I thought that to do stuff like

	struct devregs{
		int8 csr0;
		int8 csr1;
		int16 foobar;
	};
you would use bitfields. The whole thing is intrinsically nonportable,
since you're talking to a bit of hardware anyhow, so the noportability
of bitfields is no sweat. Or did I miss something?
-- 
Mike Banahan, Technical Director, The Instruction Set Ltd.
mcvax!ukc!inset!mikeb



More information about the Comp.lang.c mailing list