summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc/vfprintf.c
blob: 4c0091032926876be7a8ab7cdfae296e02baae84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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;
}