🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #100

Re: strins()

#100
From: Chuck McManis
Date: Mon, 19 Jun 1989 19:06
21 lines
1353 bytes
To kick a completely dead horse, another 10' out into the pasture ...

The question :
	"Why use strxxx() routines when sprintf() is easier to read/use ?"

The answer : (from several sources) 
	"Because the stdio printf is _huge_."

In article <8906150029.AA22430@jade.berkeley.edu> ("Eric Edwards") writes:
> Lattice uses a bultin function to get arround this problem in printf.

Good for Lattice, unfortunately they don't define the standard for the
world. In general when designing useful utility routines like strins()
you must work from the assumption that the compiler is minimally compliant
and doesn't play any games with the library routines. 


--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
"A most excellent barbarian ... Genghis Kahn!"
Technical Details
Message-ID: <111002@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!oliveb!sun!pepper!cmcmanis
References: <8906150029.AA22430@jade.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!oliveb!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga.tech
Subject: Re: strins()
Message-ID: <111002@sun.Eng.Sun.COM>
Date: 19 Jun 89 19:06:21 GMT
References: <8906150029.AA22430@jade.berkeley.edu>
Sender: news@sun.Eng.Sun.COM
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 21