Article View: comp.std.c
Article #1541Re: vprintf()
From: Henry Spencer
Date: Mon, 30 Jul 1990 18:26
Date: Mon, 30 Jul 1990 18:26
15 lines
1153 bytes
1153 bytes
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
Technical Details
Message-ID:
<1990Jul30.182656.19169@zoo.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<CHIN.90Jul28003642@ankh.ankh.ftl.fl.us> <1990Jul28.211947.3795@zoo.toronto.edu> <13450@smoke.BRL.MIL>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!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