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

20 lines
245 B
C

/* $Header$ */
#include <stdio.h>
#include <varargs.h>
int scanf(va_alist)
va_dcl
{
char *format;
va_list ap;
int retval;
va_start(ap);
format = va_arg(ap, char *);
retval = _doscanf (stdin, format, ap);
va_end(ap);
return retval;
}