Index: uspace/lib/c/Makefile
===================================================================
--- uspace/lib/c/Makefile	(revision 01cc7b454be965748c3e3a48118e2cb58ac9a69e)
+++ uspace/lib/c/Makefile	(revision f47a905f54a600cbf89372fdb1682e03070399c3)
@@ -132,4 +132,5 @@
 	generic/malloc.c \
 	generic/stdio/scanf.c \
+	generic/stdio/sscanf.c \
 	generic/stdio/sstream.c \
 	generic/sysinfo.c \
Index: uspace/lib/c/generic/stdio/scanf.c
===================================================================
--- uspace/lib/c/generic/stdio/scanf.c	(revision 01cc7b454be965748c3e3a48118e2cb58ac9a69e)
+++ uspace/lib/c/generic/stdio/scanf.c	(revision f47a905f54a600cbf89372fdb1682e03070399c3)
@@ -46,6 +46,4 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include "../private/stdio.h"
-#include "../private/sstream.h"
 
 typedef enum {
@@ -1268,5 +1266,5 @@
 }
 
-static int xxvfscanf(FILE *f, const char *fmt, va_list ap)
+int xxvfscanf(FILE *f, const char *fmt, va_list ap)
 {
 	const char *cp;
@@ -1337,16 +1335,21 @@
 }
 
-int xxsscanf(const char *s, const char *fmt, ...)
+int xxvscanf(const char *fmt, va_list ap)
+{
+	return xxvfscanf(stdin, fmt, ap);
+}
+
+int xxscanf(const char *fmt, ...)
 {
 	va_list args;
-	FILE f;
 	int rc;
 
-	__sstream_init(s, &f);
-
 	va_start(args, fmt);
-	rc = xxvfscanf(&f, fmt, args);
+	rc = xxvscanf(fmt, args);
 	va_end(args);
 
 	return rc;
 }
+
+/** @}
+ */
Index: uspace/lib/c/generic/stdio/sscanf.c
===================================================================
--- uspace/lib/c/generic/stdio/sscanf.c	(revision f47a905f54a600cbf89372fdb1682e03070399c3)
+++ uspace/lib/c/generic/stdio/sscanf.c	(revision f47a905f54a600cbf89372fdb1682e03070399c3)
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2018 Jiri Svoboda
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the distribution.
+ * - The name of the author may not be used to endorse or promote products
+ *   derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/** @addtogroup libc
+ * @{
+ */
+/**
+ * @file
+ * @brief sscanf, vsscanf
+ */
+
+#include <stdarg.h>
+#include <stdio.h>
+#include "../private/stdio.h"
+#include "../private/sstream.h"
+
+int xxvsscanf(const char *s, const char *fmt, va_list ap)
+{
+	FILE f;
+
+	__sstream_init(s, &f);
+	return xxvfscanf(&f, fmt, ap);
+}
+
+int xxsscanf(const char *s, const char *fmt, ...)
+{
+	va_list args;
+	int rc;
+
+	va_start(args, fmt);
+	rc = xxvsscanf(s, fmt, args);
+	va_end(args);
+
+	return rc;
+}
+
+/** @}
+ */
Index: uspace/lib/c/include/stdio.h
===================================================================
--- uspace/lib/c/include/stdio.h	(revision 01cc7b454be965748c3e3a48118e2cb58ac9a69e)
+++ uspace/lib/c/include/stdio.h	(revision f47a905f54a600cbf89372fdb1682e03070399c3)
@@ -101,6 +101,10 @@
 extern int vsnprintf(char *, size_t, const char *, va_list);
 
+extern int xxscanf(const char *, ...);
+extern int xxvscanf(const char *, va_list);
 extern int xxfscanf(FILE *, const char *, ...);
+extern int xxvfscanf(FILE *, const char *, va_list);
 extern int xxsscanf(const char *, const char *, ...);
+extern int xxvsscanf(const char *, const char *, va_list);
 
 /* File stream functions */
