From 7cf5f27ec6fba76f8b0297fe9dd5565f13a0befe Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 26 Nov 2004 23:16:57 +0000 Subject: [PATCH] Added vscanf git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/.cvsignore | 1 + libsrc/common/Makefile | 1 + libsrc/common/vscanf.c | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 libsrc/common/vscanf.c diff --git a/libsrc/common/.cvsignore b/libsrc/common/.cvsignore index 25e50ed2a..e96db4c09 100644 --- a/libsrc/common/.cvsignore +++ b/libsrc/common/.cvsignore @@ -38,6 +38,7 @@ strxfrm.s system.s timezone.s vfscanf.s +vscanf.s vsscanf.s diff --git a/libsrc/common/Makefile b/libsrc/common/Makefile index c72f99742..f9eea8104 100644 --- a/libsrc/common/Makefile +++ b/libsrc/common/Makefile @@ -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 index 000000000..0523980ae --- /dev/null +++ b/libsrc/common/vscanf.c @@ -0,0 +1,27 @@ +/* + * vscanf.c + * + * Ullrich von Bassewitz (uz@cc65.org), 2004-11-26 + * + */ + + + +#include + + + +/*****************************************************************************/ +/* Code */ +/*****************************************************************************/ + + + +int __fastcall__ vscanf (const char* format, va_list ap) +/* Standard C function */ +{ + return vfscanf (stdin, format, ap); +} + + + -- 2.39.5