avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Addition of a vprintf macro in stdio.h ..? or rather


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Addition of a vprintf macro in stdio.h ..? or rather a function ..?
Date: Wed, 9 Mar 2005 22:16:02 +0100
User-agent: Mutt/1.4.2.1i

As Björn Haase wrote:

> I think that it is not extremely urgent to clean-up this point, but
> I think that it would be helpful if the next time someone is
> changing something in stdio.h, the above addition could be
> incorporated (I'm not having a cvs checked-out avr-libc at this
> machine, so I can't easily prepare a proper patch).

Please file a bug report for it, to ensure it won't be forgotten.

As vprintf() is mandated by the standard and it's not a big deal to
provide it, it will be done.  Since function-alike macros need to be
backed by actual functions in the library anyway (so you can #undef
the macro, e.g. in order to pass a pointer to the function around),
I'll probably opt for only implementing it as a wrapper function.
Should not matter much for your purpose.

p.s.: The same applies to vscanf().
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]