🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #219

overlapping objects

#219
From: Andrew Walduck
Date: Wed, 15 Apr 1992 11:22
17 lines
886 bytes
What exactly is an overlapping object in ANSI??

For example:

char buffer[5];
memcpy(buffer, buffer, 5);

Is this a call to memcpy with overlapping objects?? 
And so...its perfectly alright for memcpy to dump core?? 

Thanx
Andrew Walduck

Andrew Walduck -- OMRON Japan -- andrew@lsa.ncl.omron.co.jp 
-------------------------------------------------------------------------------
Henry Spencer says "Retch barf." 
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1412@frf.omron.co.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!astemgw!relay-omron!frf!lsa.ncl.omron.co.jp!andrew

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!astemgw!relay-omron!frf!lsa.ncl.omron.co.jp!andrew
From: andrew@lsa.ncl.omron.co.jp (Andrew Walduck)
Newsgroups: comp.std.c
Subject: overlapping objects
Keywords: ANSI
Message-ID: <1412@frf.omron.co.jp>
Date: 15 Apr 92 11:22:49 GMT
Sender: news@frf.omron.co.jp
Reply-To: andrew@lsa.ncl.omron.co.jp (Andrew Walduck)
Lines: 17