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