home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / compiler / clib / vfprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-09  |  1.0 KB  |  52 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: vfprintf.c,v 1.5 1997/01/08 04:12:53 ldp Exp $
  4.  
  5.     Desc: Format a string and call a usercallback to output each char
  6.     Lang: english
  7. */
  8. /* Original source from libnix */
  9. #define AROS_ALMOST_COMPATIBLE
  10.  
  11. /*****************************************************************************
  12.  
  13.     NAME */
  14. #include <stdio.h>
  15. #include <stdarg.h>
  16.  
  17.     int vfprintf (
  18.  
  19. /*  SYNOPSIS */
  20.     FILE       * stream,
  21.     const char * format,
  22.     va_list      args)
  23.  
  24. /*  FUNCTION
  25.     Format a list of arguments and print them on the specified stream.
  26.  
  27.     INPUTS
  28.     stream - A stream on which one can write
  29.     format - A printf() format string.
  30.     args - A list of arguments for the format string.
  31.  
  32.     RESULT
  33.     The number of characters written.
  34.  
  35.     NOTES
  36.  
  37.     EXAMPLE
  38.  
  39.     BUGS
  40.  
  41.     SEE ALSO
  42.  
  43.     INTERNALS
  44.  
  45.     HISTORY
  46.     06.12.1996 digulla copied from libnix
  47.  
  48. ******************************************************************************/
  49. {
  50.     return __vcformat (stream, (void *)fputc, format, args);
  51. } /* vfprintf */
  52.