Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pegasus.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!pegasus!hansen From: hansen@pegasus.UUCP (Tony L. Hansen) Newsgroups: net.sources Subject: Re: bcopy, bcmp, bzero for 4.1BSD (System V versions) Message-ID: <1660@pegasus.UUCP> Date: Sat, 25-Aug-84 14:48:14 EDT Article-I.D.: pegasus.1660 Posted: Sat Aug 25 14:48:14 1984 Date-Received: Sun, 26-Aug-84 01:18:13 EDT References: <153@eneevax.UUCP> Organization: AT&T Information Systems, Lincroft NJ Lines: 14 < (Otherwise, why not rewrite < these for your particular machine and *install* it in your C library?) < --Chris Torek, U of MD CS/EE, seismo!umcp-cs!chris, chris@maryland.ARPA, Why not instead install the standard System V routines memcpy, memcmp and memset? There was even a public domain version of those routines posted not too many months ago. (Beware the switched operands in bcopy.) #define bcmp(s1, s2, count) memcmp((s1), (s2), (n)) #define bcopy(from, to, count) memcpy((to), (from), (count)) #define bzero(addr, count) memset((addr), 0, (count)) Tony Hansen pegasus!hansen