home *** CD-ROM | disk | FTP | other *** search
- /*
- (C) 1995-96 AROS - The Amiga Replacement OS
- $Id: fprintf.c,v 1.2 1996/12/11 11:22:35 aros Exp $
-
- Desc: ANSI C function fprintf()
- Lang: english
- */
- #include <stdarg.h>
-
- /*****************************************************************************
-
- NAME */
- #include <stdio.h>
-
- int fprintf (
-
- /* SYNOPSIS */
- FILE * fh,
- const char * format,
- ...)
-
- /* FUNCTION
- Format a string with the specified arguments and write it to
- the stream.
-
- INPUTS
- fh - Write to this stream
- format - How to format the arguments
- ... - The additional arguments
-
- RESULT
- The number of characters written to the stream or EOF on error.
-
- NOTES
-
- EXAMPLE
-
- BUGS
-
- SEE ALSO
-
- INTERNALS
-
- HISTORY
- 10.12.1996 digulla created
-
- ******************************************************************************/
- {
- int retval;
- va_list args;
-
- va_start (args, format);
-
- retval = vfprintf (fh, format, args);
-
- va_end (args);
-
- return retval;
- } /* fprintf */
-
-