*BSD News Article 38934


Return to BSD News archive

Xref: sserve comp.unix.bsd:15445 comp.lang.c:87182 comp.unix.sys5.r3:2301
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!newsfeed.ksu.ksu.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!news1.oakland.edu!detroit.freenet.org!detroit.freenet.org!not-for-mail
From: brose@detroit.freenet.org (Karl Brose)
Newsgroups: comp.unix.bsd,comp.lang.c,comp.unix.sys5.r3
Subject: Re: how to completely get rid of bcopy, bzero, bcmp?
Followup-To: comp.unix.bsd,comp.lang.c,comp.unix.sys5.r3
Date: 2 Dec 1994 04:08:52 -0500
Organization: "Brose Information Technologies"
Lines: 19
Message-ID: <3bmo74$oan@detroit.freenet.org>
References: <3bksus$fg4@spruce.cic.net>
NNTP-Posting-Host: localhost.freenet.org
X-Newsreader: TIN [version 1.2 PL2]

Paul Southworth (pauls@locust.cic.net) wrote:
>                                 return;  /* too bad */
>                         bcopy(ptr, def_slcbuf, len);
>                 }

> What should that bcopy() look like to make this SVR3 system happy?

> Is there a "right" way to implement bcopy() etc on this system so I could
> generate my own compatibility library and not bother with altering the
> code every time?


#define bcopy(a,b,n)	memcpy((b),(a),(n))


-- 
Karl H. Brose
Greater Detroit Free-Net
brose@detroit.freenet.org