missing stdio.h prototypes

Shaun Jackman sjackman@gmail.com
Tue May 23 19:20:00 GMT 2006


On 5/20/06, Dave Murphy <wintermute2k4@ntlworld.com> wrote:
> Hi,
>
> I noticed a couple of missing prototypes in stdio.h, siscanf and
> viprintf, the attached patch adds these.
>
> newlib 1.14.0 added a dprintf prototype which I commented locally. Is
> this a standard function? This is a name I've used for quite some time
> for debug output and usually define as a macro.
>
> Dave

dprintf is provided by GNU glibc. It is not a standard function, but
it is commonly used. The manual page mentions that fdprintf would have
been a better name, but it is too late for that now.

Cheers,
Shaun



More information about the Newlib mailing list