Fix: 64-bit compatibility
[AROS.git] / compiler / stdc / vprintf.c
blob704d24b51943e95dc37ce46b56c39bc55d707bdd
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function vprintf().
6 */
7 #include <libraries/stdcio.h>
9 /*****************************************************************************
11 NAME */
12 #include <stdio.h>
13 #include <stdarg.h>
15 int vprintf (
17 /* SYNOPSIS */
18 const char * format,
19 va_list args)
21 /* FUNCTION
22 Format a list of arguments and print them on the standard output.
24 INPUTS
25 format - A printf() format string.
26 args - A list of arguments for the format string.
28 RESULT
29 The number of characters written.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 ******************************************************************************/
43 struct StdCIOBase *StdCIOBase = __aros_getbase_StdCIOBase();
45 return vfprintf (StdCIOBase->_stdout, format, args);
46 } /* vprintf */