Subject: Question on printf/fputs /usr/share/misc/style
To: None <tech-misc@NetBSD.ORG>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: tech-misc
Date: 07/24/1995 11:31:52
	/usr/share/misc/style states:

         * Use printf(3), not fputs/puts/putchar/whatever, it's faster and
         * usually cleaner, not to mention avoiding stupid bugs.

	printf() is faster than fputs()?
	Am I missing something here? As far as I know fputs has always 
	been much faster than printf - it looks to be about two or three
	times faster under netbsd.

	I can accept that on style grounds printf is preferred (tho I'll
	stick with fputs in my own code :), but shouldn't the comment
	about be changed to be accurate? :)

		David

 D.K.Brownlee@city.ac.uk (MIME) +44 171 477 8186  {post,host}master  (abs)
Network Analyst, UCS, City University, Northampton Square, London EC1V 0HB.
 <<< Monochrome - Largest UK Internet BBS - try telnet mono.city.ac.uk >>>