home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / std / c / 2370 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  837 b 

  1. Path: sparky!uunet!world!ksr!jfw
  2. From: jfw@ksr.com (John F. Woods)
  3. Newsgroups: comp.std.c
  4. Subject: Re: Character arrays in structures and address alignment -- any standard?
  5. Message-ID: <14216@ksr.com>
  6. Date: 28 Jul 92 10:20:59 EDT
  7. References: <1992Jul26.225252.4487@anasazi.com> <1992Jul27.183622.794@taumet.com> <1992Jul28.063356.28005@sq.sq.com>
  8. Sender: news@ksr.com
  9. Lines: 9
  10.  
  11. msb@sq.sq.com (Mark Brader) writes:
  12. >> The Standard allows arbitrary padding between fields and after the
  13. >> last field.
  14. >Not quite; it allows padding so that the members are correctly aligned
  15. >for their types.  It does not say anything about padding being permitted
  16. >for any other reasons, and my interpretation is that it isn't.
  17.  
  18. Please show a strictly conforming program which can tell the difference
  19. between "necessary" padding and "unnecessary" padding.
  20.