Added vscanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
fb4613f4ea
commit
7cf5f27ec6
3 changed files with 29 additions and 0 deletions
|
@ -38,6 +38,7 @@ strxfrm.s
|
||||||
system.s
|
system.s
|
||||||
timezone.s
|
timezone.s
|
||||||
vfscanf.s
|
vfscanf.s
|
||||||
|
vscanf.s
|
||||||
vsscanf.s
|
vsscanf.s
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@ C_OBJS = _afailed.o \
|
||||||
system.o \
|
system.o \
|
||||||
timezone.o \
|
timezone.o \
|
||||||
vfscanf.o \
|
vfscanf.o \
|
||||||
|
vscanf.o \
|
||||||
vsscanf.o
|
vsscanf.o
|
||||||
|
|
||||||
|
|
||||||
|
|
27
libsrc/common/vscanf.c
Normal file
27
libsrc/common/vscanf.c
Normal file
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue