tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / compiler / posixc / vscanf.c
blobf205583f17e94cb417fedcddccde5a900c7ea39d
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function vscanf()
6 */
8 #include <libraries/posixc.h>
10 #include <stdarg.h>
12 /*****************************************************************************
14 NAME */
15 #include <stdio.h>
17 int vscanf (
19 /* SYNOPSIS */
20 const char * format,
21 va_list args)
23 /* FUNCTION
24 Scan the standard input and convert it into the arguments as
25 specified by format.
27 INPUTS
28 format - A scanf() format string.
29 args - A list of arguments for the results
31 RESULT
32 The number of converted parameters.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 struct PosixCBase *PosixCBase = __aros_getbase_PosixCBase();
48 return vfscanf (PosixCBase->_stdin, format, args);
49 } /* vscanf */