Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ads.com!killer!usenet From: anders@verity.com (Anders Wallgren) Newsgroups: comp.sys.mac.programmer Subject: Re: P-strings in MPW C++ Keywords: C++ Message-ID: <1991Feb20.221457.28382@verity.com> Date: 20 Feb 91 22:14:57 GMT References: <12035@pt.cs.cmu.edu> Sender: usenet@verity.com (USENET News) Reply-To: anders@verity.com (Anders Wallgren) Organization: Verity, Inc., Mountain View, CA Lines: 5 In-Reply-To: mkb@rover.ri.cmu.edu (Mike Blackwell) strcpy works only on C strings. It will not work too well on P strings since it is expecting its string to be null-terminated. If you want to copy P strings, you either have to do it by hand, or, if you have access to MPW 3.2 betas, you can use PLstrcpy which is the P string equivalent of strcpy.