home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / text / hyper / ADtoHT2_0.lha / MyLib.lha / stdio / fprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-04  |  342 b   |  19 lines

  1. #include <stdarg.h>
  2. #include <stdio.h>
  3.  
  4. /************************************************************************/
  5.  
  6. #undef fprintf
  7.  
  8. int fprintf(FILE *Stream, const char *FormatString, ...)
  9.  
  10. {
  11.   int Result;
  12.   va_list Params;
  13.  
  14.   va_start(Params,FormatString);
  15.   Result=vfprintf(Stream,FormatString,Params);
  16.   va_end(Params);
  17.   return Result;
  18. }
  19.