Path: utzoo!mnetor!uunet!husc6!mailrus!nrl-cmf!cmcl2!brl-adm!adm!dsill@NSWC-OAS.arpa From: dsill@NSWC-OAS.arpa (Dave Sill) Newsgroups: comp.lang.c Subject: Re: strcpy Message-ID: <12678@brl-adm.ARPA> Date: 28 Mar 88 18:47:31 GMT Sender: news@brl-adm.ARPA Lines: 18 In article <90@hropus.UUCP> John Young writes: >If the "contents of the destination string past the null character" >are not guaranteed why would anyone use strcpy()? Well, at the risk of sounding flippant, one would use strcpy() to make a copy of a string. I personally don't use strcpy() for any other reason, and I don't see how writing past the null but within the bounds of the destination array would preclude this. [In a previous posting I retracted my statement that strcpy() could write something past the null in the destination string.] ========= The opinions expressed above are mine. "We must remove the TV-induced stupor that lies like a fog across the land." -- Ted Nelson