[comp.lang.c] printf vs <stdio.h>

henry@utzoo.UUCP (Henry Spencer) (08/16/87)

> printf predates stdio... (previously, we didn't need sprintf and fprintf;
> printf did it all!)...

Au contraire, we needed sprintf and fprintf badly, we just didn't *have* them!
The equivalent of fprintf got invented independently in many places, and the
main reason this wasn't true for sprintf was that it was harder.
-- 
Support sustained spaceflight: fight |  Henry Spencer @ U of Toronto Zoology
the soi-disant "Planetary Society"!  | {allegra,ihnp4,decvax,utai}!utzoo!henry