Article View: comp.std.c
Article #131Re: Character arrays in structures and address alignment -- any standard?
From: John F. Woods
Date: Tue, 28 Jul 1992 14:20
Date: Tue, 28 Jul 1992 14:20
9 lines
856 bytes
856 bytes
msb@sq.sq.com (Mark Brader) writes: >> The Standard allows arbitrary padding between fields and after the >> last field. >Not quite; it allows padding so that the members are correctly aligned >for their types. It does not say anything about padding being permitted >for any other reasons, and my interpretation is that it isn't. Please show a strictly conforming program which can tell the difference between "necessary" padding and "unnecessary" padding.
Technical Details
Message-ID:
<14216@ksr.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!world!ksr!jfwReferences:
<1992Jul26.225252.4487@anasazi.com> <1992Jul27.183622.794@taumet.com> <1992Jul28.063356.28005@sq.sq.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!world!ksr!jfw From: jfw@ksr.com (John F. Woods) Newsgroups: comp.std.c Subject: Re: Character arrays in structures and address alignment -- any standard? Message-ID: <14216@ksr.com> Date: 28 Jul 92 10:20:59 EDT References: <1992Jul26.225252.4487@anasazi.com> <1992Jul27.183622.794@taumet.com> <1992Jul28.063356.28005@sq.sq.com> Sender: news@ksr.com Lines: 9