Path: utzoo!attcan!uunet!samsung!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!nuug!ifi!barsoom!tih From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo) Newsgroups: comp.unix.xenix Subject: Re: where is the routine bcopy()? SCO Unix 3.2 system Message-ID: <891@barsoom.nhh.no> Date: 1 Jun 90 11:34:44 GMT References: <1342@beaudin.UUCP> <1176@gear.sublink.ORG> Distribution: comp Organization: Norwegian School of Economics Lines: 18 root@gear.sublink.ORG (Marco Lorenzini ) writes: >Under System V Sco Unix the function bcopy() has been replaced with >memcpy() so you must include in your sources this define: >#define bcopy(src, dst, len) memcpy(dst, src, len) Right, this will work. >or include in the Makefile: -Dbcopy=memcpy Nope, this is wrong. Note that the order of the two first parameters to the function have to be reversed, as in the #define above! -tih -- Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205 tih@barsoom.nhh.no, thelbekk@norunit.bitnet, edb_tom@debet.nhh.no