Date: Mon, 14 Feb 94 11:54:14 -0500 From: DJ Delorie To: jcrigler AT orl DOT mmc DOT com Cc: pgf AT cayman DOT com, jcrigler AT orl DOT mmc DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu, jcrigler AT orl DOT mmc DOT com Subject: Re: get vga info: int 10, ah == 1b > > where do i need to put the "__attribute__ ((packed))" keywords? the > > shotgun approach to programming says do this: > > struct { > > char a __attribute__ ((packed)); > > short b __attribute__ ((packed)); > > } foo __attribute__ ((packed)); > > but i'll bet they're not all necessary... > > ] The first two are needed, the last one might be also but I doubt it. Look in , which uses packed structures.