summaryrefslogtreecommitdiff
path: root/src/stdio/vsscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/vsscanf.c')
-rw-r--r--src/stdio/vsscanf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stdio/vsscanf.c b/src/stdio/vsscanf.c
index 534f30ea..d5322078 100644
--- a/src/stdio/vsscanf.c
+++ b/src/stdio/vsscanf.c
@@ -1,8 +1,15 @@
#include <stdio.h>
#include "stdarg.h"
+#include "nonstd/io.h"
int vsscanf(const char * restrict s, const char * restrict format, va_list arg)
{
+ int ret = 0;
+ struct io_options opt = {0};
+ opt.fnname = __func__;
+ opt.string = (char*)s;
+ ret = __scanf(&opt, format, arg);
+ return ret;
}
/*