Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!natinst!bigtex!pmafire!dave From: dave@pmafire.UUCP (Dave Remien) Newsgroups: comp.unix.questions Subject: Re: SysV bcopy? Summary: Well, mostly Keywords: bcopy memcpy SysV BSD Message-ID: <604@pmafire.UUCP> Date: 20 Mar 89 00:10:01 GMT References: <114@sherpa.UUCP> Reply-To: dave@pmafire.UUCP (Dave Remien) Distribution: na Organization: WINCO, INEL, Idaho Lines: 26 In article <114@sherpa.UUCP> rac@sherpa.UUCP (Roger A. Cornelius) writes: >Is there a routine in the system V library analogous to BSD's bcopy(). >If not, can someone describe what bcopy() does ? I'm running SCO Xenix >if it matters. > Being fundamentally in favor of making life easier, I have a file that I include in all BSD source at the top, which contains: #define bcopy(s,d,n) memcpy((d),(s),(n)) #define bcmp(s1,s2,n) memcmp((s1),(s2),(n)) #define bzero(s,n) memset((s),0,(n)) Works for me......... (I work almost exclusively in Sys V). >Thanks, >Roger >-- >Roger Cornelius rac@sherpa > uunet!sherpa!rac -- Dave Remien - WINCO Computer Engineering Group (only somewhat confused, now) Work - 208-526-3523 Home - 208-524-1906 UUCP Path: ...!bigtex!pmafire!dave "How can you be in two places at once, when you're not anywhere at all..."