source:
trunk/sys/dietlibc/vfscanf.c
@
1
| Last change on this file since 1 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 287 bytes | |
| Line | |
|---|---|
| 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.
