alsa.audio: drop remaining buffer when closing
[AROS.git] / compiler / stdc / vscanf.c
blobff3e8b6a6edc760fa1d0634a6c84bada6a059b83
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function vscanf().
6 */
7 #include <libraries/stdcio.h>
9 /*****************************************************************************
11 NAME */
12 #include <stdio.h>
13 #include <stdarg.h>
15 int vscanf (
17 /* SYNOPSIS */
18 const char * format,
19 va_list args)
21 /* FUNCTION
22 Scan the standard input and convert it into the arguments as
23 specified by format.
25 INPUTS
26 format - A scanf() format string.
27 args - A list of arguments for the results
29 RESULT
30 The number of converted parameters.
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 struct StdCIOBase *StdCIOBase = __aros_getbase_StdCIOBase();
46 return vfscanf (StdCIOBase->_stdin, format, args);
47 } /* vscanf */