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