VAX11C memcpy (was Re: realloc)

John Hascall hascall at atanasoff.cs.iastate.edu
Sun Apr 2 03:37:25 AEST 1989


In article <1917 at dataio.Data-IO.COM> bright at dataio.Data-IO.COM (Walter Bright) writes:
>In article <9118 at alice.UUCP< ark at alice.UUCP (Andrew Koenig) writes:
 
><In article <10032 at ihlpb.ATT.COM<, gregg at ihlpb.ATT.COM (Wonderly) writes:
><Of course, not all C implementations behave this way.  This
><leaves C programmers in a bind: rely on this behavior or not?  If
 
>I am involved daily with porting code between PCs, Suns, Apples, Vaxes,
>For instance, BSD Unix doesn't have memcpy, so I have:
 
>#if BSDUNIX || VAX11C
>char *memcpy(t,f,n)

   [... code omitted ...]

>#endif

>(VAX11C is my euphamism for DEC's C compiler.)

   ????

   The VAXC library has memcpy.  What gives?

John Hascall / ISU Comp Center



More information about the Comp.lang.c mailing list