Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!3comvax!bridge2!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.lang.c Subject: Re: sprintf(3s) query Message-ID: <663@auspex.UUCP> Date: 9 Dec 88 17:52:00 GMT References: <1102@entropy.ms.washington.edu> <14907@mimsy.UUCP> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 10 >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").