summaryrefslogtreecommitdiffstats
path: root/usr/klibc/sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/klibc/sscanf.c')
-rw-r--r--usr/klibc/sscanf.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr/klibc/sscanf.c b/usr/klibc/sscanf.c
new file mode 100644
index 0000000..f53b276
--- /dev/null
+++ b/usr/klibc/sscanf.c
@@ -0,0 +1,17 @@
+/*
+ * sscanf()
+ */
+
+#include <stdio.h>
+
+int sscanf(const char *str, const char *format, ...)
+{
+ va_list ap;
+ int rv;
+
+ va_start(ap, format);
+ rv = vsscanf(str, format, ap);
+ va_end(ap);
+
+ return rv;
+}