sprintf(3s) query
Guy Harris
guy at auspex.UUCP
Sat Dec 10 03:52:00 AEST 1988
>Your lint library (for Suns and IBM ACIS) does not incorrectly declare
>fprintf() as returning `char *'. Whether your sprintf() actually
>returns `char *' (as not-quite-defined in stdio.h) is another question
>entirely. Poking around in the SunOS 3.2 sources, I find both versions.
>Which one gets used I have no idea.
One gets used when you compile in the 4BSD environment (using
"(/usr)/bin/cc"); one gets used when you compile in the S5 environment
(using "/usr/5bin/cc").
More information about the Comp.lang.c
mailing list