char *strcat(), *strcpy(), *fgets();
Phil Hughes
fyl at ssc.UUCP
Sat Jun 25 06:16:12 AEST 1988
In article <1309 at ark.cs.vu.nl>, maart at 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
More information about the Comp.std.c
mailing list