array of bits field

Wm E. Davidsen Jr davidsen at sixhub.UUCP
Tue Feb 13 14:19:10 AEST 1990


  I don't know of a way to do it in standard C, and if it were added as
an extension I would expect the syntax to be
	int bits:1[16];

  I would find this useful, but I have other things I'd rather see in
the standard. Perhaps in gcc, which seems to have everyone's favorite
feature. 
-- 
	bill davidsen - sysop *IX BBS and Public Access UNIX
davidsen at sixhub.uucp		...!uunet!crdgw1!sixhub!davidsen

"Getting old is bad, but it beats the hell out of the alternative" -anon



More information about the Comp.lang.c mailing list