SysV bcopy?
    Doug Gwyn  
    gwyn at smoke.BRL.MIL
       
    Sun Mar 19 16:41:34 AEST 1989
    
    
  
In article <114 at sherpa.UUCP> rac at 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 <memory.h> to get memcpy()'s type declared
correctly.
    
    
More information about the Comp.unix.questions
mailing list