Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: bcopy Message-ID: <712@auspex.UUCP> Date: 14 Dec 88 20:11:48 GMT References: <669@auspex.UUCP> <47800018@uxe.cso.uiuc.edu> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 9 >It seems to me the idea is that memcpy should be the most efficient >possible way to copy SMALL things - maybe even things like structs >containing four bytes, in which case a 32 bit integer move instruction >could be generated (if the alignemnt was right). The C compilers I know of generate inline code, not calls to "memcpy" or any other subroutine, for structure assignments; they may even generate such a move instruction if appropriate.