Re: bzero/bcopy on Solaris: Summary

From: Dave Curry (davy@ecn.purdue.edu)
Date: Fri Mar 05 1993 - 08:03:27 CST


In article <1n6damINN2be@sol.tis.com>, mjr@tis.com (Marcus J Ranum) writes:
|> Blind replacement of bcopy() with memcpy() is *not* replacing
|> bcopy() with an equivalent routine! I suggest you just FTP the source
|> for bcopy() from your local FTP server and use that.
|>

Okay, so replace it with memmove() instead:

     memmove() copies n bytes from memory areas s2 to s1. Copy-
     ing between objects that overlap will take place correctly.
     It returns s1.

Dave Curry



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:33 CDT