Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: SysV bcopy? Keywords: bcopy SysV BSD Message-ID: <9876@smoke.BRL.MIL> Date: 19 Mar 89 06:41:34 GMT References: <114@sherpa.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 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(). memcpy() is analogous but its arguments are in a different order. memcpy() is decribed under MEMORY(3C) in most System V PRMs. bcopy() is described under BSTRING(3) in the 4BSD PRM. In case you don;t have BSD documentation (why not?), just swap the first two arguments and change the name from bcopy to memcpy. Be sure to include to get memcpy()'s type declared correctly.