]> git.sur5r.net Git - cc65/commitdiff
Added vscanf
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 26 Nov 2004 23:16:57 +0000 (23:16 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 26 Nov 2004 23:16:57 +0000 (23:16 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/.cvsignore
libsrc/common/Makefile
libsrc/common/vscanf.c [new file with mode: 0644]

index 25e50ed2a16678b613a98118882f3a3d99cb3e8c..e96db4c0989c85cfb529a746456f209670107df5 100644 (file)
@@ -38,6 +38,7 @@ strxfrm.s
 system.s
 timezone.s
 vfscanf.s
+vscanf.s
 vsscanf.s
 
 
index c72f9974290fedb355ad11780124078714278074..f9eea810405cee2cf18a62c28de006c26d2d95d2 100644 (file)
@@ -68,6 +68,7 @@ C_OBJS =      _afailed.o      \
                 system.o        \
                 timezone.o      \
                 vfscanf.o       \
+                vscanf.o        \
                 vsscanf.o
 
 
diff --git a/libsrc/common/vscanf.c b/libsrc/common/vscanf.c
new file mode 100644 (file)
index 0000000..0523980
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * vscanf.c
+ *
+ * Ullrich von Bassewitz (uz@cc65.org), 2004-11-26
+ *
+ */
+
+
+
+#include <stdio.h>
+
+
+
+/*****************************************************************************/
+/*                                          Code                                    */
+/*****************************************************************************/
+
+
+
+int __fastcall__ vscanf (const char* format, va_list ap)
+/* Standard C function */
+{
+    return vfscanf (stdin, format, ap);
+}
+
+
+