tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / compiler / posixc / vprintf.c
blob6398843f6bb149ee3c510f8d5360b1bf9c98d1fb
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function vprintf()
6 */
8 #include <libraries/posixc.h>
10 #include <stdarg.h>
12 /*****************************************************************************
14 NAME */
15 #include <stdio.h>
17 int vprintf (
19 /* SYNOPSIS */
20 const char * format,
21 va_list args)
23 /* FUNCTION
24 Format a list of arguments and print them on the standard output.
26 INPUTS
27 format - A printf() format string.
28 args - A list of arguments for the format string.
30 RESULT
31 The number of characters written.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 struct PosixCBase *PosixCBase = __aros_getbase_PosixCBase();
47 return vfprintf (PosixCBase->_stdout, format, args);
48 } /* vprintf */