Portability vs. Endianness

Doug Gwyn gwyn at smoke.brl.mil
Thu Mar 14 07:38:26 AEST 1991


In article <2669 at ksr.com> jfw at ksr.com (John F. Woods) writes:
>Further hmm.  Is memcpy() obliged to do anything sensible if handed
>a pointer to an integer cast to a void *?

Yes, memcpy() can be used to copy any valid object.

By the way, I think I have a correct solution for the original problem
embedded as a subset of what the MUVES Dx package does when sending
data between heterogeneous architectures, but it is hard to extract
from the context.



More information about the Comp.lang.c mailing list