mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-05-28 22:45:15 +02:00
17 lines
No EOL
266 B
C
17 lines
No EOL
266 B
C
#include <stdio.h>
|
|
#include <fxlibc/scanf.h>
|
|
|
|
int fscanf(FILE * restrict fp, char const * restrict fmt, ...)
|
|
{
|
|
struct __scanf_input in = {
|
|
.fp = fp,
|
|
};
|
|
|
|
va_list args;
|
|
va_start(args, fmt);
|
|
|
|
int count = __scanf(&in, fmt, &args);
|
|
|
|
va_end(args);
|
|
return count;
|
|
} |