🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5109

Re: char *strcat(), *strcpy(), *fgets();

#5109
From: anw
Date: Tue, 28 Jun 1988 16:19
11 lines
958 bytes
In article <2029@pt.cs.cmu.edu> jgk@speech2.cs.cmu.edu (Joe Keane) writes:
>To be useful, strcpy and strcat should return the end of the new
>string.

	If it has to be one or t'other, don't forget that the way C works
it is easier to find the end of a string given its beginning than to find
its beginning given its end.

-- 
Andy Walker, Maths Dept., Nott'm Univ., UK
anw@maths.nott.ac.uk
Technical Details
Message-ID: <568@tuck.nott-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!dcl-cs!nott-cs!anw
References: <haddock.4604> <1719@ogcvax.ogc.edu> <1309@ark.cs.vu.nl> <2029@pt.cs.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!dcl-cs!nott-cs!anw
From: anw@nott-cs.UUCP
Newsgroups: comp.std.c
Subject: Re: char *strcat(), *strcpy(), *fgets();
Message-ID: <568@tuck.nott-cs.UUCP>
Date: 28 Jun 88 16:19:40 GMT
References: <haddock.4604> <1719@ogcvax.ogc.edu> <1309@ark.cs.vu.nl> <2029@pt.cs.cmu.edu>
Reply-To: anw@maths.nott.ac.uk (Dr A. N. Walker)
Organization: Department of Mathematics, The University, NOTTINGHAM, NG7 2RD, UK.
Lines: 11