Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: SysV bcopy? Message-ID: <16487@mimsy.UUCP> Date: 22 Mar 89 10:40:11 GMT References: <114@sherpa.UUCP> <216000009@s.cs.uiuc.edu> <9901@smoke.BRL.MIL> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 19 In article <9901@smoke.BRL.MIL> gwyn@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@mimsy.umd.edu Path: uunet!mimsy!chris