ack/lang/cem/libcc/stdio/printf.c
1988-04-15 14:43:19 +00:00

18 lines
261 B
C

/* $Header$ */
#include <stdio.h>
#include <varargs.h>
printf(va_alist)
va_dcl
{
char *fmt;
va_list ap;
va_start(ap);
fmt = va_arg(ap, char *);
_doprnt (fmt, ap, stdout);
if ( io_testflag(stdout,IO_PERPRINTF) )
fflush(stdout);
va_end(list);
}