delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/04/13:23:03

Message-Id: <200006041721.UAA30409@alpha.netvision.net.il>
Date: Sun, 04 Jun 2000 20:21:01 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: Laurynas Biveinis <lauras AT softhome DOT net>
CC: djgpp-workers AT delorie DOT com
In-reply-to: <393A6E2C.AEC16FEF@softhome.net> (message from Laurynas Biveinis
on Sun, 04 Jun 2000 17:56:44 +0300)
Subject: Re: ANSI C and stdio.h
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000604174725 DOT 11052F-100000 AT is> <393A6E2C DOT AEC16FEF AT softhome DOT net>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sun, 04 Jun 2000 17:56:44 +0300
> From: Laurynas Biveinis <lauras AT softhome DOT net>
> 
> Eli Zaretskii wrote:
> > > Note that stdarg.h should be included as well. Why?
> > 
> > Because that's where va_list is supposed to be defined.
> 
> So including <stdio.h> in theory is not sufficient?

I don't have the ANSI standard handy, but IIRC, if you want to *use*
the functions that depend on va_list, then you need stdarg.h.  Like DJ
explained, our stdio.h includes stdarg.h to minimize FAQs.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019