summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc/vfprintf.c
blob: 7fae9c45e79391384fc6d1e25f010e1b0098f8d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef lint
static char rcsid[] = "$Id: vfprintf.c,v 1.2 1993/08/02 17:25:47 mycroft Exp $";
#endif /* not lint */

#include <lib.h>
#include <stdarg.h>
#include <stdio.h>

int vfprintf(file, format, argp)
FILE *file;
_CONST char *format;
va_list argp;
{
  _doprintf(file, format, argp);
  if (testflag(file, PERPRINTF)) fflush(file);
  return 0;
}