vprintf()
Henry Spencer
henry at zoo.toronto.edu
Tue Jul 31 04:26:56 AEST 1990
In article <13450 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>>>Is vprintf() mandated to be in <stdio.h> by ANSI C...
>>Yes. (Although you have to include <stdarg.h> as well.)
>
>You don't have to include <stdarg.h> to get vprintf() properly defined,
>just <stdio.h>...
Can you prove this? Unless this got changed since the late draft that
is all I've got (must get a copy of the final standard, sigh...), the
specs for the v* functions all call for <stdarg.h> before <stdio.h>.
On a quick search, I find no explicit statement to the effect that
either (a) <stdio.h> suffices, or (b) <stdarg.h> is required.
--
The 486 is to a modern CPU as a Jules | Henry Spencer at U of Toronto Zoology
Verne reprint is to a modern SF novel. | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.std.c
mailing list