source: trunk/sys/dietlibc/vfscanf.c @ 88

Last change on this file since 88 was 1, checked in by alain, 8 years ago

First import

File size: 287 bytes
Line 
1#include <stdarg.h>
2#include <stdlib.h>
3#include "dietstdio.h"
4#include <unistd.h>
5
6int vfscanf(FILE *stream, const char *format, va_list arg_ptr)
7{
8  struct arg_scanf farg = { (void*)stream, (int(*)(void*))fgetc, (int(*)(int,void*))ungetc };
9  return __v_scanf(&farg,format,arg_ptr);
10}
Note: See TracBrowser for help on using the repository browser.