home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 316 / libsrc / doprnt.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-20  |  262 b   |  20 lines

  1.  
  2. #include <stdio.h>
  3.  
  4. void __doprnt_putc(c, f)
  5. char c;
  6. FILE * f;
  7. {
  8.   fputc(c, f);
  9. }
  10.  
  11. _doprnt(template, args, f)
  12. char * template;
  13. long ** args;
  14. FILE * f;
  15. {
  16.   _printf_guts(template, args, __doprnt_putc, f);
  17.   if (isatty(fileno(f)))
  18.     fflush(f);
  19. }
  20.