home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / std / c / 2568 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  947 b 

  1. Path: sparky!uunet!sdrc!thor!scjones
  2. From: scjones@thor.sdrc.com (Larry Jones)
  3. Newsgroups: comp.std.c
  4. Subject: Re: How is struct assignment defined (idle query)?
  5. Message-ID: <2000@sdrc.COM>
  6. Date: 3 Sep 92 20:13:58 GMT
  7. References: <715547606snx@grendel.demon.co.uk>
  8. Sender: news@sdrc.COM
  9. Lines: 13
  10.  
  11. In article <715547606snx@grendel.demon.co.uk>, jes@grendel.demon.co.uk (Jim Segrave) writes:
  12. > Does ANSI say that structure assignment is done by member-wise copy or
  13. > by bit-wise copying?
  14.  
  15. No.  ;-)
  16. The details are left unspecified -- member-wise copy is all that's
  17. required but bit-wise copy is acceptable and is undoubtedly the
  18. most common implementation (with the possible exception of not
  19. copying trailing padding).
  20. ----
  21. Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
  22. Domain: lawrence.jones@sdrc.com               IBMMAIL: USSDR7DR at IBMMAIL
  23. See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin
  24.