vprintf()

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Jul 29 10:41:42 AEST 1990


In article <CHIN.90Jul28003642 at ankh.ankh.ftl.fl.us> chin at ankh.ankh.ftl.fl.us (Albert Chin) writes:
>Is vprintf() mandated to be in <stdio.h> by ANSI C. My "ANSI" compiler doesn't
>have it and I have not been able to find sources of it anywhere.

Your terminology is a bit loose, but yes, the C standard requires that
inclusion of <stdio.h> result in (among other things) a declaration for
the vprintf() library function, which the standard library is required
to provide.

In general, vprintf() cannot be readily implemented in terms of other
standard library functions, which is why the implementation is supposed
to provide it for you.



More information about the Comp.std.c mailing list