home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / std / c / 2566 < prev    next >
Encoding:
Text File  |  1992-09-03  |  876 b   |  21 lines

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!gumby!destroyer!ncar!ico!dirtydog.ima.isc.com!karl
  2. From: karl@ima.isc.com (Karl Heuer)
  3. Newsgroups: comp.std.c
  4. Subject: Re: How is struct assignment defined (idle query)?
  5. Message-ID: <1992Sep03.204538.11357@ima.isc.com>
  6. Date: 3 Sep 92 20:45:38 GMT
  7. References: <715547606snx@grendel.demon.co.uk>
  8. Sender: usenet@ima.isc.com (news)
  9. Organization: Interactive Systems, Cambridge, MA 02138-5302
  10. Lines: 9
  11.  
  12. In article <715547606snx@grendel.demon.co.uk> jes@grendel.demon.co.uk (Jim Segrave) writes:
  13. >Does ANSI say that structure assignment is done by member-wise copy or
  14. >by bit-wise copying?
  15.  
  16. It's unspecified.  Either approach may be used by a conforming implementation;
  17. a user cannot make any valid assumptions about the contents of "holes" after a
  18. struct copy.
  19.  
  20. Karl W. Z. Heuer (karl@ima.isc.com or uunet!ima!karl), The Walking Lint
  21.