home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / alde_c / misc / lib / dlibssrc / cprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1987-07-15  |  338 b   |  16 lines

  1. #include <stdio.h>
  2.  
  3. extern    int    putch();
  4.  
  5. cprintf(fmt, arg)
  6. char *fmt;
  7. int arg;
  8. /*
  9.  *    Formatted output directly to the console.  This functions uses the
  10.  *    system dependent putch() for output.  See the _printf() function
  11.  *    for a description of the <fmt> formatting string.
  12.  */
  13. {
  14.     return(_printf(NULL, putch, fmt, &arg));
  15. }
  16.