strcpy

Doug Gwyn gwyn at brl-smoke.ARPA
Wed Mar 23 05:07:01 AEST 1988


In article <1304 at ut-emx.UUCP> wca at ut-emx.UUCP (William C. Anderson) writes:
-In article <10753 at mimsy.UUCP>, chris at mimsy.UUCP (Chris Torek) writes:
--> In article <7506 at brl-smoke.ARPA> gwyn at brl-smoke.ARPA (Doug Gwyn) writes:
--> ->This usage was never a good idea, because a valid implementation of
--> ->strcpy() would be to copy right-to-left rather than left-to-right
--> `That turns out not to be the case'---or rather, are you certain?
-Chris is right here, Doug.  For example, the ndbm(3) routines in 4.3BSD
-depend upon bcopy() doing the correct ordering in cases of overlap.

Talk about non-sequiturs!  The subject was strcpy() and the implications
of noalias on its parameters.



More information about the Comp.lang.c mailing list