Explanation, please!

Doug Gwyn gwyn at smoke.ARPA
Thu Sep 1 11:34:20 AEST 1988


In article <2945 at wright.mips.COM> earl at mips.COM (Earl Killian) writes:
>According to the author, that code was used for copying to a 16-bit IO
>device.  It would have be illegal to use memcpy or bcopy because they
>would make word references to the device.

Wrong reason.  memcpy() etc. don't have the right behavior for stashing
a sequence of values into the same destination location.



More information about the Comp.lang.c mailing list