Does stdio.h require stdargs.h?

Larry Breed lmb at ghoti.uucp
Thu Nov 23 07:03:10 AEST 1989


The Standard's synopsis of vprintf is --
	#include <stdarg.h>
	#include <stdio.h>
	int vprintf(const char *format, va_list arg);

Presumably stdio.h contains the prototype declaration for vprintf.
But without stdarg.h, va_list is undefined.  This seems to require
anyone who includes stdio.h to include stdarg.h as well.
Have I missed something?


Disclaimer: Don't blame my employer, blame:
Larry Breed			(415) 855-4460
uucp: uunet!ibmsupt!lmb		inet: ibmsupt!lmb at uunet.uu.net



More information about the Comp.lang.c mailing list