Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!quintus!ok From: ok@quintus.UUCP (Richard A. O'Keefe) Newsgroups: comp.lang.c Subject: Re: strcpy Message-ID: <815@cresswell.quintus.UUCP> Date: 25 Mar 88 03:43:53 GMT References: <793@cresswell.quintus.UUCP> <545@anuck.UUCP> <18488@think.UUCP> Organization: Quintus Computer Systems, Mountain View, CA Lines: 17 In article <18488@think.UUCP>, barmar@think.COM (Barry Margolin) writes: > Will you guys stop playing word games, and think about what that > sentence was really intended to mean? I think the point of the We don't KNOW "what that sentence was really intended to mean". All we can tell is what it SAYS. Anyone who needs reminding in the manual page for strcpy() "that string functions don't know about declared array dimensions" is going to have a hard time with almost anything in C. I've just checked in Harbison & Steele, and while they do not feel constrained to point out that string functions don't know about declared array dimensions, they *do* explicitly say that strcat() and strcpy() may not work with overlapping strings. Presumably this means that they knew of C implementations that didn't do the copies left to right. Anyone have any idea what those implementations might be?