home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_200 / 223_01 / puts.c < prev    next >
Text File  |  1979-12-31  |  384b  |  18 lines

  1. #define NOCCARGC  /* no argument count passing */
  2.  
  3. /*
  4. ** puts(string)
  5. */
  6.  
  7.    static int i;
  8.  
  9. puts(string) char *string;  {
  10.    i=0;
  11.    while(string[i] != 0){
  12.       putchar(string[i]);
  13.       i++;
  14.    }
  15.    putchar('\n');
  16. }
  17.  
  18.