SysV bcopy?
Chris Torek
chris at mimsy.UUCP
Wed Mar 22 20:40:11 AEST 1989
In article <9901 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn ) writes:
>There are people who think that "copy FROM TO" is a more natural order.
>Presumably the fellow who wrote the first bcopy() thought so.
... along with the fellow who wrote /bin/cp.
In actuality, it is strcpy() that is `backwards', supposedly done that way
to make
strcpy(dst, "foo");
`feel' more like the assignment
dst = "foo";
found in languages with second-or-first-class arrays.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.questions
mailing list