[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Missing vprintf_P in avr-libc
From: |
Paulo Marques |
Subject: |
Re: [avr-libc-dev] Missing vprintf_P in avr-libc |
Date: |
Mon, 22 Feb 2010 12:39:05 +0000 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090310) |
Joerg Wunsch wrote:
> As Christopher Hrabia wrote:
>
>> I recognized that for mostly all print functions a _P version
>> exists, besides of vprintf.
>
> #define vprintf_P(fmt, ...) vfprintf(stdout, fmt, __VA_ARG__)
I think it's clear from the context that you meant:
#define vprintf_P(fmt, ...) vfprintf_P(stdout, fmt, __VA_ARG__)
but I thought it would be better to point it out, in case someone had
doubts...
--
Paulo Marques
Software Development Department - Grupo PIE, S.A.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com
"I used to be indecisive, but now I'm not so sure."