rom/exec/restoretaskstorage.c: Don't restore ETask data
[AROS.git] / compiler / clib / fprintf.c
blob7a7f944c98b4cc67fad19abf453da6c98dc065d6
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C 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 */