🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1536

Re: vprintf()

#1536
From: Stephen Clamage
Date: Sat, 28 Jul 1990 22:38
17 lines
1038 bytes
chin@ankh.ankh.ftl.fl.us (Albert Chin) writes:

>Is vprintf() mandated to be in <stdio.h> by ANSI C.

Yes, in a "hosted" implementation.  Section 4.9.6.8 of the standard.

> My "ANSI" compiler doesn't have it ...

Complain to the vendor.  It is not an ANSI-conforming compiler (in a
"hosted" implementation) if vprintf() is missing.  To implement vprintf(),
you usually need to know the underlying implementation of printf().
The various members of the printf() family generally set up a call to
a special function (often called something like _doprint).  You need to
know what this is and how to call it in order to implement vprintf().
-- 

Steve Clamage, TauMetric Corp, steve@taumet.com
Technical Details
Message-ID: <360@taumet.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!taumet!steve
References: <CHIN.90Jul28003642@ankh.ankh.ftl.fl.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!taumet!steve
From: steve@taumet.com (Stephen Clamage)
Newsgroups: comp.std.c
Subject: Re: vprintf()
Message-ID: <360@taumet.com>
Date: 28 Jul 90 22:38:00 GMT
References: <CHIN.90Jul28003642@ankh.ankh.ftl.fl.us>
Distribution: comp.std.c
Organization: Taumetric Corporation, San Diego
Lines: 17