muimaster.library: support Listview_List in List
[AROS.git] / compiler / posixc / fprintf.c
blobd8e5d85b2d6d3f54e7f54159ecd64c2de3e58fd9
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function fprintf().
6 */
8 #include <stdarg.h>
10 /*****************************************************************************
12 NAME */
13 #include <stdio.h>
15 int fprintf (
17 /* SYNOPSIS */
18 FILE * fh,
19 const char * format,
20 ...)
22 /* FUNCTION
23 Format a string with the specified arguments and write it to
24 the stream.
26 INPUTS
27 fh - Write to this stream
28 format - How to format the arguments
29 ... - The additional arguments
31 RESULT
32 The number of characters written to the stream or EOF on error.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 int retval;
47 va_list args;
49 va_start (args, format);
51 retval = vfprintf (fh, format, args);
53 va_end (args);
55 return retval;
56 } /* fprintf */