ack/lang/cem/libcc/stdio/printf.c
1988-04-25 16:17:29 +00:00

20 lines
265 B
C

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