Article View: comp.std.c
Article #5131Re: char *strcat(), *strcpy(), *fgets();
From: Phil Hughes
Date: Fri, 24 Jun 1988 20:16
Date: Fri, 24 Jun 1988 20:16
15 lines
809 bytes
809 bytes
In article <1309@ark.cs.vu.nl>, maart@cs.vu.nl (Maarten Litmaath) writes: > Why do the functions named above return 'char *', instead of 'int', viz. the > REALLY useful new size of the first argument string, or the number of chars > moved? So you can say perror(strcat(message," more message")); or, something like that. -- Phil uunet!pilchuck!ssc!fyl
Technical Details
Message-ID:
<1285@ssc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!uw-june!uw-entropy!dataio!pilchuck!ssc!fylReferences:
<haddock.4604> <1719@ogcvax.ogc.edu> <1309@ark.cs.vu.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!uw-june!uw-entropy!dataio!pilchuck!ssc!fyl From: fyl@ssc.UUCP (Phil Hughes) Newsgroups: comp.std.c Subject: Re: char *strcat(), *strcpy(), *fgets(); Message-ID: <1285@ssc.UUCP> Date: 24 Jun 88 20:16:12 GMT References: <haddock.4604> <1719@ogcvax.ogc.edu> <1309@ark.cs.vu.nl> Organization: Slugland, USA Lines: 15