linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* data structure question
@ 2005-05-15  9:32 gumbold
  2005-05-15 11:02 ` Glynn Clements
  0 siblings, 1 reply; 9+ messages in thread
From: gumbold @ 2005-05-15  9:32 UTC (permalink / raw)
  To: linux-c-programming

Hi

why somebody wants to write such thing
struct abc {
    __u16 a;
    __u16 b;
    char abc[0];
} __attribute__((packed));
Specialy for zerod array of chars.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-17  7:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-15  9:32 data structure question gumbold
2005-05-15 11:02 ` Glynn Clements
2005-05-15 11:24   ` gumbold
2005-05-15 14:23     ` Glynn Clements
2005-05-16  4:00       ` gumbold
2005-05-16 15:28         ` Glynn Clements
2005-05-16 18:31           ` gumbold
2005-05-17  7:36             ` Glynn Clements
2005-05-16 19:07           ` gumbold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).