Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!decwrl!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.lang.c Subject: Re: strcpy Message-ID: <425@goofy.megatest.UUCP> Date: 2 Apr 88 03:13:21 GMT References: <3293@haddock.ISC.COM> Organization: Megatest Corporation, San Jose, Ca Lines: 18 Geez. Enough already!! Everybody knows what strcpy does: void strcpy(str1, str2) char* str1; char* str2; { while(*str1++ = *str2++) {;} } If I remember correctly, it says as much right in K&R. I don't think you want to break K&R without darn good reason. If you want a function that does something else, give it another name. "strcpy" is already taken. -- Sgt. Dave Jones, Naming Conventions Police, ret.