aboutsummaryrefslogtreecommitdiffstats
path: root/io/sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/sscanf.c')
-rw-r--r--io/sscanf.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/io/sscanf.c b/io/sscanf.c
new file mode 100644
index 0000000..0490a41
--- /dev/null
+++ b/io/sscanf.c
@@ -0,0 +1,10 @@
+#include "io.h"
+
+int sscanf(char const *restrict string, char const *restrict format, ...)
+{
+ va_list arg;
+ va_start(arg, format);
+ int lenght = _vsscanf_wrap(string, format, arg);
+ va_end(arg);
+ return lenght;
+}