From: utzoo!decvax!harpo!duke!trt
Newsgroups: net.bugs.4bsd
Title: Re: ittvax.328: Bugs in /usr/lib/lint/llib-lc
Article-I.D.: duke.2142
Posted: Fri May 14 12:32:39 1982
Received: Sat May 15 01:00:35 1982


	**  Never use the return value of sprintf  **

sprintf(III) returns char * in UNIX V7, int in UNIX 32V.
The first version of A news did "xerror(sprintf(...));"
but for portability that all had to be changed to
	sprintf(bfr, ...); xerror(bfr);

llib-lc and stdio.h could indicate that sprintf returns "void",
or perhaps a pointer to some bizarre structure
so any use of the value will be flagged as an error.