source:
trunk/sys/dietlibc/vfscanf.c
@
233
Last change on this file since 233 was 1, checked in by , 8 years ago | |
---|---|
File size: 287 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <stdarg.h> |
2 | #include <stdlib.h> | |
3 | #include "dietstdio.h" | |
4 | #include <unistd.h> | |
5 | ||
6 | int 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.