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 / cputs.c < prev    next >
Encoding:
C/C++ Source or Header  |  1987-07-15  |  293 b   |  16 lines

  1. #include <stdio.h>
  2.  
  3. extern    int    putch();
  4.  
  5. void cputs(data)
  6. register char *data;
  7. /*
  8.  *    Write the characters in <data> directly to the console using the
  9.  *    system dependent putch() function.  A newline WILL NOT be written
  10.  *    after the data.
  11.  */
  12. {
  13.     while(*data)
  14.         putch(*data++);
  15. }
  16.