home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 1.ddi / CLIB1.ZIP / FPRINTF.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  1.5 KB  |  42 lines

  1. /*-----------------------------------------------------------------------*
  2.  * filename - fprintf.c
  3.  *
  4.  * function(s)
  5.  *      fprintf - sends formatted output to a stream
  6.  *-----------------------------------------------------------------------*/
  7.  
  8. /*[]------------------------------------------------------------[]*/
  9. /*|                                                              |*/
  10. /*|     Turbo C Run Time Library - Version 3.0                   |*/
  11. /*|                                                              |*/
  12. /*|                                                              |*/
  13. /*|     Copyright (c) 1987,1988,1990 by Borland International    |*/
  14. /*|     All Rights Reserved.                                     |*/
  15. /*|                                                              |*/
  16. /*[]------------------------------------------------------------[]*/
  17.  
  18.  
  19. #include <stdio.h>
  20. #include <_stdio.h>
  21. #include <_printf.h>
  22.  
  23. /*---------------------------------------------------------------------*
  24.  
  25. Name        fprintf - sends formatted output to a stream
  26.  
  27. Usage        int fprintf(FILE *stream, const char *format [,argument, ...]);
  28.  
  29. Prototype in    stdio.h
  30.  
  31. Description    member of the printf family.  fprintf send its output
  32.         to the named stream.
  33.  
  34. Return value    success : the number of bytes output.
  35.         error : EOF
  36.  
  37. *------------------------------------------------------------------------*/
  38. int cdecl fprintf (FILE *F, const char *fmt, ...)
  39.   {
  40.   return( __vprinter ((putnF *)__fputn, F, fmt, (void _ss *) _va_ptr ) );
  41.   }
  42.