Re: [cc65] scanf ?

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2001-02-22 08:39:29

On Tue, Feb 20, 2001 at 11:27:28PM -0500, troy silvey wrote:
> This may be a silly question, but just noticed this
> eve that cc65 doesn't include scanf in the stdio lib.
> I was wondering why?

I decided against it, because it is a really complex routine, even more
complex than printf. Before the rewrite for version 2.6, a simple "hello
world" program had about 5K, this was almost exclusively because of printf. My
estimate for the scanf family of functions was that they would account for
another 8K, so I thought no one would use it anyway.

But you're right, it's in the standard, so it should be there - even if it is
big and ugly:-) Eric Au has found a somewhat critical problem with the runtime
library, so I'm thinking about a 2.6.1 release. Maybe I can add at least a
preliminary version of scanf.



Ullrich von Bassewitz                        

---------------------------------------------------------------------- To unsubscribe from the list send mail to with the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:38 CET