where is the routine bcopy()? SCO Unix 3.2 system

Tom Ivar Helbekkmo tih at barsoom.nhh.no
Fri Jun 1 21:34:44 AEST 1990


root at 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 at barsoom.nhh.no, thelbekk at norunit.bitnet, edb_tom at debet.nhh.no



More information about the Comp.unix.xenix mailing list