2000-05-12 23:15:20 +00:00
|
|
|
/* Provide a version vfprintf in terms of _doprnt.
|
|
|
|
By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
|
|
|
|
Copyright (C) 1998 Free Software Foundation, Inc.
|
|
|
|
*/
|
|
|
|
|
2004-06-16 05:45:41 +00:00
|
|
|
#include "ansidecl.h"
|
|
|
|
#ifdef ANSI_PROTOTYPES
|
2000-05-12 23:15:20 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
#else
|
1998-03-01 22:58:51 +00:00
|
|
|
#include <varargs.h>
|
2000-05-12 23:15:20 +00:00
|
|
|
#endif
|
|
|
|
#include <stdio.h>
|
1998-03-01 22:58:51 +00:00
|
|
|
#undef vfprintf
|
|
|
|
|
|
|
|
int
|
2000-05-12 23:15:20 +00:00
|
|
|
vfprintf (stream, format, ap)
|
|
|
|
FILE * stream;
|
|
|
|
const char * format;
|
|
|
|
va_list ap;
|
1998-03-01 22:58:51 +00:00
|
|
|
{
|
2000-05-12 23:15:20 +00:00
|
|
|
return _doprnt (format, ap, stream);
|
1998-03-01 22:58:51 +00:00
|
|
|
}
|