home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / SMC21LIB.LZH / FPUTS.C < prev    next >
Text File  |  2000-06-30  |  384b  |  15 lines

  1.  
  2. #define NOCCARGC
  3. #include stdio.h
  4. #include clib.def
  5. /*
  6. ** Write a string to fd.
  7. ** Entry: string  = Pointer to null-terminated string
  8. **        fd      = File descriptor of pertinent file.
  9. */
  10. fputs(string,fd) char *string; int fd; {
  11.   while(*string)
  12.     fputc(*string++,fd);
  13.   }
  14.  
  15.