Newsgroups: comp.std.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: vprintf()
Message-ID: <1990Jul30.182656.19169@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <CHIN.90Jul28003642@ankh.ankh.ftl.fl.us> <1990Jul28.211947.3795@zoo.toronto.edu> <13450@smoke.BRL.MIL>
Date: Mon, 30 Jul 90 18:26:56 GMT

In article <13450@smoke.BRL.MIL> gwyn@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@zoo.toronto.edu   utzoo!henry
