summaryrefslogtreecommitdiff
path: root/libiberty/vfprintf.c
blob: 18f09d47d324771a38b8b78b2ba5bb8dcf777388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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.
 */

#include "ansidecl.h"
#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#include <stdio.h>
#undef vfprintf

int
vfprintf (stream, format, ap)
  FILE * stream;
  const char * format;
  va_list ap;
{
  return _doprnt (format, ap, stream);
}