ack/lang/cem/libcc/stdio/fscanf.c

23 lines
277 B
C
Raw Normal View History

1987-03-31 10:45:53 +00:00
/* $Header$ */
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
int fscanf(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;
int retval;
va_start(ap);
1988-04-25 16:17:29 +00:00
{
FILE *fp = va_arg(ap, FILE *);
char *format = va_arg(ap, char *);
retval = _doscanf (fp, format, ap);
}
1988-04-15 14:43:19 +00:00
va_end(ap);
1988-04-25 16:17:29 +00:00
1988-04-15 14:43:19 +00:00
return retval;
1987-01-27 15:57:55 +00:00
}