1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1987-01-27 15:57:55 +00:00
|
|
|
#include <stdio.h>
|
1988-04-15 14:43:19 +00:00
|
|
|
#include <varargs.h>
|
1987-01-27 15:57:55 +00:00
|
|
|
|
1988-04-15 14:43:19 +00:00
|
|
|
printf(va_alist)
|
1988-04-25 16:17:29 +00:00
|
|
|
va_dcl
|
1987-01-27 15:57:55 +00:00
|
|
|
{
|
1988-04-15 14:43:19 +00:00
|
|
|
va_list ap;
|
|
|
|
|
|
|
|
va_start(ap);
|
1988-04-25 16:17:29 +00:00
|
|
|
{
|
|
|
|
char *fmt = va_arg(ap, char *);
|
|
|
|
|
|
|
|
_doprnt (fmt, ap, stdout);
|
|
|
|
if ( io_testflag(stdout,IO_PERPRINTF) )
|
|
|
|
fflush(stdout);
|
|
|
|
}
|
1988-04-25 15:31:58 +00:00
|
|
|
va_end(ap);
|
1987-01-27 15:57:55 +00:00
|
|
|
}
|